Methods

Sets session storage options and initializes session namespace object

__construct(mixed $namespace, mixed $member, \Zend\Session\ManagerInterface $manager) 

Parameters

$namespace

mixed

$member

mixed

Defined by Zend\Authentication\Storage\StorageInterface

clear() : void

Exceptions

\Zend\Authentication\Exception\ExceptionInterface If clearing contents from storage is impossible

Returns the name of the session object member

getMember() : string

Returns

string

Returns the session namespace

getNamespace() : string

Returns

string

Defined by Zend\Authentication\Storage\StorageInterface

isEmpty() : bool

Exceptions

\Zend\Authentication\Exception\ExceptionInterface If it is impossible to determine whether storage is empty

Returns

bool

Defined by Zend\Authentication\Storage\StorageInterface

read() : mixed

Behavior is undefined when storage is empty.

Exceptions

\Zend\Authentication\Exception\ExceptionInterface If reading contents from storage is impossible

Returns

mixed

Defined by Zend\Authentication\Storage\StorageInterface

write(mixed $contents) : void

Parameters

$contents

mixed

Exceptions

\Zend\Authentication\Exception\ExceptionInterface If writing $contents to storage is impossible

 Properties

 

Session object member

$member : mixed

 

Session namespace

$namespace : mixed

 

Object to proxy $_SESSION storage

$session : \Zend\Session\Container

 Constants

 

Default session object member name

MEMBER_DEFAULT 

 

Default session namespace

NAMESPACE_DEFAULT