canCreateServiceWithName()
createServiceWithName()
getConfig()
getSessionManager()
normalizeContainerName()
$config
$configKey
$sessionManager
Session container abstract service factory.
Allows creating Container instances, using the Zend\Service\ManagerInterface if present. Containers are named in a "session_containers" array in the Config service:
return array(
'session_containers' => array(
'SessionContainer\sample',
'my_sample_session_container',
'MySessionContainer',
),
);
$container = $services->get('MySessionContainer');
canCreateServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $services, string $name, string $requestedName) : bool
string
string
bool
createServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $services, string $name, string $requestedName) : \Zend\Session\Container
string
string
getConfig(\Zend\ServiceManager\ServiceLocatorInterface $services) : false | array
getSessionManager(\Zend\ServiceManager\ServiceLocatorInterface $services) : null | \Zend\Session\ManagerInterface
normalizeContainerName(string $name) : string
string
string
$config : array
$configKey : string