projects
/
mdref
/
mdref
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9878e88e6329c186f2a21f032d5cad83a1186316
[mdref/mdref]
/
http
/
Cookie
/
setExpires.md
1
# http\Cookie http\Cookie::setExpires([int $value = -1])
2
3
Set the traditional expires timestamp.
4
See http\Cookie::setMaxAge() for a safer alternative.
5
6
## Params:
7
8
* Optional int $value = -1
9
The expires timestamp as seconds since the epoch.
10
11
## Returns:
12
13
* http\Cookie, self.