◆ $domain
| string Config::Cookie::$domain = '' |
Cookie Domain
Set to .your-domain.com for site-wide cookies.
◆ $expires
| Config::Cookie::$expires = 0 |
◆ $httponly
| bool Config::Cookie::$httponly = true |
Cookie HTTPOnly
Cookie will only be accessible via HTTP(S) (no JavaScript).
◆ $path
| string Config::Cookie::$path = '/' |
Cookie Path
Typically will be a forward slash.
◆ $prefix
| string Config::Cookie::$prefix = '' |
Cookie Prefix
Set a cookie name prefix if you need to avoid collisions.
◆ $raw
| bool Config::Cookie::$raw = false |
◆ $samesite
| string Config::Cookie::$samesite = 'Lax' |
Cookie SameSite
Configure cookie SameSite setting. Allowed values are:
Alternatively, you can use the constant names:
Cookie::SAMESITE_NONE
Cookie::SAMESITE_LAX
Cookie::SAMESITE_STRICT
Defaults to Lax for compatibility with modern browsers. Setting ‘’' (empty string) means default SameSite attribute set by browsers (Lax) will be set on cookies. If set toNone,$secure` must also be set.
PHPStan-spezifische Annotation-var 'None'|'Lax'|'Strict'|''
◆ $secure
| bool Config::Cookie::$secure = false |
Cookie Secure
Cookie will only be set if a secure HTTPS connection exists.
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: