Zend Framework
3.0
|
Public Member Functions | |
__invoke (ContainerInterface $container, $requestedName, array $options=null) | |
Create session configuration object (v3 usage). | |
createService (ServiceLocatorInterface $services, $canonicalName=null, $requestedName=ConfigInterface::class) | |
Create and return a config instance (v2 usage). | |
Public Member Functions inherited from FactoryInterface | |
createService (ServiceLocatorInterface $serviceLocator) | |
Create service. | |
__invoke | ( | ContainerInterface | $container, |
$requestedName, | |||
array | $options = null |
||
) |
Create session configuration object (v3 usage).
Uses "session_config" section of configuration to seed a ConfigInterface instance. By default, Zend will be used, but you may also specify a specific implementation variant using the "config_class" subkey.
ContainerInterface | $container | |
string | $requestedName | |
null | array | $options |
ServiceNotCreatedException | if session_config is missing, or an invalid config_class is used |
Implements FactoryInterface.
createService | ( | ServiceLocatorInterface | $services, |
$canonicalName = null , |
|||
$requestedName = ConfigInterface::class |
|||
) |
Create and return a config instance (v2 usage).
ServiceLocatorInterface | $services | |
null | string | $canonicalName | |
string | $requestedName |