package Default

 Methods

Create session storage object

createService(\Zend\ServiceManager\ServiceLocatorInterface $services) : \Zend\Session\Storage\StorageInterface

Uses "session_storage" section of configuration to seed a StorageInterface instance. That array should contain the key "type", specifying the storage type to use, and optionally "options", containing any options to be used in creating the StorageInterface instance.

inherited_from \Zend\ServiceManager\FactoryInterface::createService()

Parameters

$services

\Zend\ServiceManager\ServiceLocatorInterface

Exceptions

\Zend\ServiceManager\Exception\ServiceNotCreatedException if session_storage is missing, or the factory cannot create the storage instance.

Returns

\Zend\Session\Storage\StorageInterface