mdref.json config
[mdref/mdref-http] / http / Cookie / setDomain.md
1 # http\Cookie http\Cookie::setDomain([string $value = NULL])
2
3 Set the effective domain of the cookie list.
4 See http\Cookie::setPath().
5
6 ## Params:
7
8 * Optional string $value = NULL
9 The domain the cookie(s) belong to.
10
11 ## Returns:
12
13 * http\Cookie, self.
14
15 ## Throws:
16
17 * http\Exception\InvalidArgumentException