Zend\Authentication\Storage\Session
Synopsis
class Session
implements
StorageInterface
{
- // constants
- const NAMESPACE_DEFAULT = 'Zend_Auth';
- const MEMBER_DEFAULT = 'storage';
- // members
- protected Container $session;
- protected mixed $namespace;
- protected mixed $member;
- // methods
- public void __construct()
- public string getNamespace()
- public string getMember()
- public bool isEmpty()
- public mixed read()
- public void write()
- public void clear()
Hierarchy
Implements
Constants
Name | Value |
---|---|
NAMESPACE_DEFAULT | 'Zend_Auth' |
MEMBER_DEFAULT | 'storage' |
Members
protected
- $member
—
mixed
Session object member - $namespace
—
mixed
Session namespace - $session
—
Zend\Session\Container
Object to proxy $_SESSION storage
Methods
public
- __construct() — Sets session storage options and initializes session namespace object
- clear() — Defined by Zend\Authentication\Storage\StorageInterface
- getMember() — Returns the name of the session object member
- getNamespace() — Returns the session namespace
- isEmpty() — Defined by Zend\Authentication\Storage\StorageInterface
- read() — Defined by Zend\Authentication\Storage\StorageInterface
- write() — Defined by Zend\Authentication\Storage\StorageInterface