projects
/
mdref
/
mdref
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a32fc22a39926e035686f9cb3bb31ec6de264d07
[mdref/mdref]
/
http
/
Cookie
/
addCookie.md
1
# http\Cookie http\Cookie::addCookie(string $cookie_name, string $cookie_value)
2
3
Add a cookie.
4
See http\Cookie::setCookie() and http\Cookie::addCookies().
5
6
## Params:
7
8
* string $cookie_name
9
The key of the cookie.
10
* string $cookie_value
11
The value of the cookie.
12
13
## Returns:
14
15
* http\Cookie, self.
16
17
## Throws:
18
19
* http\Exception\InvalidArgumentException