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