Fully Qualified Name: | Laminas\Session\Service\SessionConfigFactory |
Implements: | FactoryInterface |
Name | Description | Defined By |
---|---|---|
__invoke() | Create session configuration object (v3 usage). | SessionConfigFactory |
createService() | Create and return a config instance (v2 usage). | SessionConfigFactory |
Create session configuration object (v3 usage).
Uses "session_config" section of configuration to seed a ConfigInterface instance. By default, Laminas\Session\Config\SessionConfig will be used, but you may also specify a specific implementation variant using the "config_class" subkey.
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$requestedName | string | |
$options | null|array |
Returns: \ConfigInterface
Create and return a config instance (v2 usage).
Parameter Name | Type | Description |
---|---|---|
$services | \ServiceLocatorInterface | |
$canonicalName | null|string | |
$requestedName | string |
Returns: \ConfigInterface