Edit
↰
Home
↑
http
↑
Cookie
↻
Cookie::addExtra
↲
Cookie::__construct
↲
Cookie::__toString
↲
Cookie::addCookie
↲
Cookie::addCookies
↲
Cookie::addExtras
↲
Cookie::getCookie
↲
Cookie::getCookies
↲
Cookie::getDomain
↲
Cookie::getExpires
↲
Cookie::getExtra
↲
Cookie::getExtras
↲
Cookie::getFlags
↲
Cookie::getMaxAge
↲
Cookie::getPath
↲
Cookie::setCookie
↲
Cookie::setCookies
↲
Cookie::setDomain
↲
Cookie::setExpires
↲
Cookie::setExtra
↲
Cookie::setExtras
↲
Cookie::setFlags
↲
Cookie::setMaxAge
↲
Cookie::setPath
↲
Cookie::toArray
↲
Cookie::toString
#
http\Cookie
http\Cookie::addExtra
(
string
$extra_name
,
string
$extra_value
)
Add an extra attribute to the cookie list. See
http\Cookie::setExtra
().
Params:
#
string
$extra_name
#
The key of the extra attribute.
string
$extra_value
#
The value of the extra attribute.
Returns:
#
http\Cookie
,
self
.
Throws:
#
http\Exception\InvalidArgumentException
Show Comments from Github Discussions