function
Global
/
cookie
You are viewing an older version of the documentation. For the latest, please visit master documentation.
cookie
cookie ( ) : CookieJar |Symfony\...\Cookie
Create a new cookie instance.
Parameters
- $name string|null
- $value string|null
- $minutes int
- $path string|null
- $domain string|null
- $secure bool|null
- $httpOnly bool
- $raw bool
- $sameSite string|null