__call()
getCacheExpire()
getCookieDomain()
getCookieHttpOnly()
getCookieLifetime()
getCookiePath()
getCookieSecure()
getEntropyFile()
getEntropyLength()
getGcDivisor()
getGcMaxlifetime()
getGcProbability()
getHashBitsPerCharacter()
getName()
getOption()
getOptions()
getRememberMeSeconds()
getSavePath()
getStorageOption()
getUseCookies()
hasOption()
setCacheExpire()
setCookieDomain()
setCookieHttpOnly()
setCookieLifetime()
setCookiePath()
setCookieSecure()
setEntropyFile()
setEntropyLength()
setGcDivisor()
setGcMaxlifetime()
setGcProbability()
setHashBitsPerCharacter()
setName()
setOption()
setOptions()
setRememberMeSeconds()
setSavePath()
setStorageOption()
setUseCookies()
toArray()
$cookieDomain
$cookieHttpOnly
$cookieLifetime
$cookiePath
$cookieSecure
$name
$options
$rememberMeSeconds
$savePath
$useCookies
Standard session configuration
__call(string $method, array $args) : mixed
Intercepts getters and setters and passes them to getOption() and setOption(), respectively.
string
array
\Zend\Session\Exception\BadMethodCallException |
on non-getter/setter method |
|---|
mixedgetCacheExpire() : string
stringgetCookieDomain() : string
stringgetCookieHttpOnly() : bool
boolgetCookieLifetime() : int
intgetCookiePath() : string
stringgetCookieSecure() : bool
boolgetEntropyFile() : string
stringgetEntropyLength() : string
stringgetGcDivisor() : int
intgetGcMaxlifetime() : int
intgetGcProbability() : int
intgetHashBitsPerCharacter() : string
stringgetName() : null | string
nullstring
getOption(string $option) : mixed
Keys are normalized to lowercase. If the option is not found, attempts to retrieve it via getStorageOption(); if a value is returned from that method, it will be set as the internal value and returned.
Returns null for unfound options
string
mixedgetOptions() : array
arraygetRememberMeSeconds() : int
intgetSavePath() : string | null
stringnull
getStorageOption(string $storageOption) : mixed
Used to retrieve default values from a backend configuration store.
string
mixedgetUseCookies() : bool
boolhasOption(string $option) : bool
string
boolsetCacheExpire(int $cacheExpire) : \Zend\Session\Config\StandardConfig
setCookieDomain(string $cookieDomain) : \Zend\Session\Config\StandardConfig
setCookieHttpOnly(bool $cookieHttpOnly) : \Zend\Session\Config\StandardConfig
case sensitive method lookups in setOptions means this method has an unusual casing
bool
setCookieLifetime(int $cookieLifetime) : \Zend\Session\Config\StandardConfig
setCookiePath(string $cookiePath) : \Zend\Session\Config\StandardConfig
setEntropyFile(string $entropyFile) : \Zend\Session\Config\StandardConfig
setEntropyLength(int $entropyLength) : \Zend\Session\Config\StandardConfig
setGcDivisor(int $gcDivisor) : \Zend\Session\Config\StandardConfig
setGcMaxlifetime(int $gcMaxlifetime) : \Zend\Session\Config\StandardConfig
setGcProbability(int $gcProbability) : \Zend\Session\Config\StandardConfig
setHashBitsPerCharacter(int $hashBitsPerCharacter) : \Zend\Session\Config\StandardConfig
int
\Zend\Session\Exception\InvalidArgumentException |
|---|
setName(string $name) : \Zend\Session\Config\StandardConfig
setOption(string $option, mixed $value) : \Zend\Session\Config\StandardConfig
Keys are normalized to lowercase. After setting internally, calls setStorageOption() to allow further processing.
string
mixed
setOptions(array | \Traversable $options) : \Zend\Session\Config\StandardConfig
If a setter method exists for the key, that method will be called; otherwise, a standard option will be set with the value provided via setOption().
array\Traversable
\Zend\Session\Exception\InvalidArgumentException |
|---|
setRememberMeSeconds(int $rememberMeSeconds) : \Zend\Session\Config\StandardConfig
int
\Zend\Session\Exception\InvalidArgumentException |
|---|
setSavePath(string $savePath) : \Zend\Session\Config\StandardConfig
string
\Zend\Session\Exception\InvalidArgumentException |
on invalid path |
|---|
setStorageOption(string $storageName, mixed $storageValue) : \Zend\Session\Config\StandardConfig
Does nothing in this implementation; others might use it to set things such as INI settings.
string
mixed
toArray() : array
array$name : string
$rememberMeSeconds : int
$savePath : string
$useCookies : bool