Class AbstractManager

Summary

Fully Qualified Name: Laminas\Session\AbstractManager
Implements: ManagerInterface

Description

Base ManagerInterface implementation

Defines common constructor logic and getters for Storage and Configuration

Methods

Name Description Defined By
__construct() Constructor AbstractManager
getConfig() Retrieve configuration object AbstractManager
getSaveHandler() Get SaveHandler Object AbstractManager
getStorage() Retrieve storage object AbstractManager
setConfig() Set configuration object AbstractManager
setSaveHandler() Set session save handler object AbstractManager
setStorage() Set session storage object AbstractManager

Method Details

__construct()

Constructor

Parameter Name Type Description
$config \Config|null
$storage \Storage|null
$saveHandler \SaveHandler|null
$validators array

Returns:

getConfig()

Retrieve configuration object

Returns: \Config

getSaveHandler()

Get SaveHandler Object

Returns: \SaveHandler

getStorage()

Retrieve storage object

Returns: \Storage

setConfig()

Set configuration object

Parameter Name Type Description
$config \Config

Returns: \AbstractManager

setSaveHandler()

Set session save handler object

Parameter Name Type Description
$saveHandler \SaveHandler

Returns: \AbstractManager

setStorage()

Set session storage object

Parameter Name Type Description
$storage \Storage

Returns: \AbstractManager

Top