preliminary 2.3.0 docs
[mdref/mdref-http] / http / Cookie / addExtra.md
1 # http\Cookie http\Cookie::addExtra(string $extra_name, string $extra_value)
2
3 Add an extra attribute to the cookie list.
4 See http\Cookie::setExtra().
5
6 ## Params:
7
8 * string $extra_name
9 The key of the extra attribute.
10 * string $extra_value
11 The value of the extra attribute.
12
13 ## Returns:
14
15 * http\Cookie, self.
16
17 ## Throws:
18
19 * http\Exception\InvalidArgumentException