mdref.json config
[mdref/mdref-http] / http / Cookie / setExtras.md
1 # http\Cookie http\Cookie::setExtras([array $extras = NULL])
2
3 (Re)set the extra attributes.
4 See http\Cookie::addExtras().
5
6 ## Params:
7
8 * Optional array $extras = NULL
9 Set the extra attributes to this array.
10
11 ## Returns:
12
13 * http\Cookie, self.
14
15 ## Throws:
16
17 * http\Exception\InvalidArgumentException