projects
/
mdref
/
mdref
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e724750efdb99730972253e172357fc292b53ca7
[mdref/mdref]
/
setFlags.md
1
# http\Cookie http\Cookie::setFlags([int $value = 0])
2
3
Set the flags to specified $value.
4
See http\Cookie::SECURE and http\Cookie::HTTPONLY constants.
5
6
## Params:
7
8
* Optional int $value = 0
9
The new flags bitmask.
10
11
## Returns:
12
13
* http\Cookie, self.
14
15
## Throws:
16
17
* http\Exception\InvalidArgumentException