class CookieFactory
Properties
Methods
SetCookie
make(string $name, string $value = null, int $maxAge = null)
<p>Make a new cookie instance.</p>
Details
at
line 80
SetCookie
make(string $name, string $value = null, int $maxAge = null)
<p>Make a new cookie instance.</p>
<p>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.</p>
at
line 111
SetCookie
expire(string $name)
<p>Make an expired cookie instance.</p>
at
line 122
string
getName(string $name)
<p>Get a cookie name.</p>