Class SessionConfigFactory

Summary

Fully Qualified Name: Zend\Session\Service\SessionConfigFactory
Implements: FactoryInterface

Description

Methods

Name Description Defined By
__invoke() Create session configuration object (v3 usage). SessionConfigFactory
createService() Create and return a config instance (v2 usage). SessionConfigFactory

Method Details

__invoke()

Create session configuration object (v3 usage).

Uses "session_config" section of configuration to seed a ConfigInterface instance. By default, Zend\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

createService()

Create and return a config instance (v2 usage).

Parameter Name Type Description
$services \ServiceLocatorInterface
$canonicalName null|string
$requestedName string

Returns: \ConfigInterface

Top