Fully Qualified Name: | Laminas\Session\Service\StorageFactory |
Implements: | FactoryInterface |
Name | Description | Defined By |
---|---|---|
__invoke() | Create session storage object (v3 usage). | StorageFactory |
createService() | Create and return a storage instance (v2 usage). | StorageFactory |
Create session storage object (v3 usage).
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.
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$requestedName | ||
$options |
Returns: \StorageInterface
Create and return a storage instance (v2 usage).
Parameter Name | Type | Description |
---|---|---|
$services | \ServiceLocatorInterface | |
$canonicalName | null|string | |
$requestedName | string |
Returns: \StorageInterface