Edit
↰
Home
↑
http
↑
Cookie
↻
Cookie::setFlags
↲
Cookie::__construct
↲
Cookie::__toString
↲
Cookie::addCookie
↲
Cookie::addCookies
↲
Cookie::addExtra
↲
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::setMaxAge
↲
Cookie::setPath
↲
Cookie::toArray
↲
Cookie::toString
#
http\Cookie
http\Cookie::setFlags
([
int
$value
= 0])
Set the flags to specified
$value
. See
http\Cookie::SECURE
and
http\Cookie::HTTPONLY
constants.
Params:
#
Optional
int
$value
#
= 0
The new flags bitmask.
Returns:
#
http\Cookie
,
self
.
Throws:
#
http\Exception\InvalidArgumentException
Show Comments from Github Discussions