Base ManagerInterface implementation

Defines common constructor logic and getters for Storage and Configuration

category Zend
package Zend_Session

 Methods

Constructor

__construct(\Zend\Session\Config\ConfigInterface $config, \Zend\Session\Storage\StorageInterface $storage, \Zend\Session\SaveHandler\SaveHandlerInterface $saveHandler) 

destroy()

destroy() 
Inherited

inherited_from \Zend\Session\ManagerInterface::destroy()

expireSessionCookie()

expireSessionCookie() 
Inherited

inherited_from \Zend\Session\ManagerInterface::expireSessionCookie()

forgetMe()

forgetMe() 
Inherited

inherited_from \Zend\Session\ManagerInterface::forgetMe()

Retrieve configuration object

getConfig() : \Zend\Session\Config\ConfigInterface

getId()

getId() 
Inherited

inherited_from \Zend\Session\ManagerInterface::getId()

getName()

getName() 
Inherited

inherited_from \Zend\Session\ManagerInterface::getName()

Retrieve storage object

getStorage() : \Zend\Session\Storage\StorageInterface

getValidatorChain()

getValidatorChain() 
Inherited

inherited_from \Zend\Session\ManagerInterface::getValidatorChain()

isValid()

isValid() 
Inherited

inherited_from \Zend\Session\ManagerInterface::isValid()

regenerateId()

regenerateId() 
Inherited

inherited_from \Zend\Session\ManagerInterface::regenerateId()

rememberMe()

rememberMe($ttl) 
Inherited

inherited_from \Zend\Session\ManagerInterface::rememberMe()

Parameters

$ttl

sessionExists()

sessionExists() 
Inherited

inherited_from \Zend\Session\ManagerInterface::sessionExists()

Set configuration object

setConfig(\Zend\Session\Config\ConfigInterface $config) : \Zend\Session\AbstractManager

setId()

setId($id) 
Inherited

inherited_from \Zend\Session\ManagerInterface::setId()

Parameters

$id

setName()

setName($name) 
Inherited

inherited_from \Zend\Session\ManagerInterface::setName()

Parameters

$name

Set session save handler object

setSaveHandler(\Zend\Session\SaveHandler\SaveHandlerInterface $saveHandler) : \Zend\Session\AbstractManager

Set session storage object

setStorage(\Zend\Session\Storage\StorageInterface $storage) : \Zend\Session\AbstractManager

setValidatorChain()

setValidatorChain(\Zend\EventManager\EventManagerInterface $chain) 
Inherited

inherited_from \Zend\Session\ManagerInterface::setValidatorChain()

Parameters

$chain

start()

start() 
Inherited

inherited_from \Zend\Session\ManagerInterface::start()

writeClose()

writeClose() 
Inherited

inherited_from \Zend\Session\ManagerInterface::writeClose()

 Properties

   

Default configuration class to use when no configuration provided

$defaultConfigClass : string

 

Default storage class to use when no storage provided

$defaultStorageClass : string

 

$saveHandler

$saveHandler : \Zend\Session\SaveHandler\SaveHandlerInterface