class CookieFactory
Properties
Methods
Details
at
line 80
SetCookie
make(string $name, string $value = null, int $maxAge = null)
Make a new cookie instance.
This method returns a cookie instance for use with the Set-Cookie HTTP header. It will be pre-configured according to Flarum's base URL and protocol.
at
line 111
SetCookie
expire(string $name)
Make an expired cookie instance.
at
line 122
string
getName(string $name)
Get a cookie name.