SessionConfig
in package
This class is automatically generated to help in creating a config.
Table of Contents
Properties
- $_usedProperties : mixed
- $cookieDomain : mixed
- $cookieHttponly : mixed
- $cookieLifetime : mixed
- $cookiePath : mixed
- $cookieSamesite : mixed
- $cookieSecure : mixed
- $enabled : mixed
- $gcDivisor : mixed
- $gcMaxlifetime : mixed
- $gcProbability : mixed
- $handlerId : mixed
- $metadataUpdateThreshold : mixed
- $name : mixed
- $savePath : mixed
- $sidBitsPerCharacter : mixed
- $sidLength : mixed
- $storageFactoryId : mixed
- $useCookies : mixed
Methods
- __construct() : mixed
- cookieDomain() : $this
- cookieHttponly() : $this
- cookieLifetime() : $this
- cookiePath() : $this
- cookieSamesite() : $this
- cookieSecure() : $this
- enabled() : $this
- gcDivisor() : $this
- gcMaxlifetime() : $this
- gcProbability() : $this
- handlerId() : $this
- metadataUpdateThreshold() : $this
- seconds to wait between 2 session metadata updates
- name() : $this
- savePath() : $this
- sidBitsPerCharacter() : $this
- sidLength() : $this
- storageFactoryId() : $this
- toArray() : array<string|int, mixed>
- useCookies() : $this
Properties
$_usedProperties
private
mixed
$_usedProperties
= []
$cookieDomain
private
mixed
$cookieDomain
$cookieHttponly
private
mixed
$cookieHttponly
$cookieLifetime
private
mixed
$cookieLifetime
$cookiePath
private
mixed
$cookiePath
$cookieSamesite
private
mixed
$cookieSamesite
$cookieSecure
private
mixed
$cookieSecure
$enabled
private
mixed
$enabled
$gcDivisor
private
mixed
$gcDivisor
$gcMaxlifetime
private
mixed
$gcMaxlifetime
$gcProbability
private
mixed
$gcProbability
$handlerId
private
mixed
$handlerId
$metadataUpdateThreshold
private
mixed
$metadataUpdateThreshold
$name
private
mixed
$name
$savePath
private
mixed
$savePath
$sidBitsPerCharacter
private
mixed
$sidBitsPerCharacter
$sidLength
private
mixed
$sidLength
$storageFactoryId
private
mixed
$storageFactoryId
$useCookies
private
mixed
$useCookies
Methods
__construct()
public
__construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
- $value : array<string|int, mixed> = []
cookieDomain()
public
cookieDomain(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thiscookieHttponly()
public
cookieHttponly(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thiscookieLifetime()
public
cookieLifetime(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thiscookiePath()
public
cookiePath(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thiscookieSamesite()
public
cookieSamesite(ParamConfigurator|null|"lax"|"strict"|"none" $value) : $this
Parameters
- $value : ParamConfigurator|null|"lax"|"strict"|"none"
Tags
Return values
$thiscookieSecure()
public
cookieSecure(ParamConfigurator|true|false|"auto" $value) : $this
Parameters
- $value : ParamConfigurator|true|false|"auto"
Tags
Return values
$thisenabled()
public
enabled(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thisgcDivisor()
public
gcDivisor(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisgcMaxlifetime()
public
gcMaxlifetime(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisgcProbability()
public
gcProbability(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thishandlerId()
public
handlerId(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thismetadataUpdateThreshold()
seconds to wait between 2 session metadata updates
public
metadataUpdateThreshold(ParamConfigurator|int $value) : $this
Parameters
- $value : ParamConfigurator|int
Tags
Return values
$thisname()
public
name(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thissavePath()
public
savePath(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thissidBitsPerCharacter()
public
sidBitsPerCharacter(ParamConfigurator|int $value) : $this
Parameters
- $value : ParamConfigurator|int
Tags
Return values
$thissidLength()
public
sidLength(ParamConfigurator|int $value) : $this
Parameters
- $value : ParamConfigurator|int
Tags
Return values
$thisstorageFactoryId()
public
storageFactoryId(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>useCookies()
public
useCookies(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool