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