Zend\Session\Storage\AbstractSessionArrayStorage
Session storage in $_SESSION
Replaces the $_SESSION superglobal with an ArrayObject that allows for
property access, metadata storage, locking, and immutability.
Synopsis
class AbstractSessionArrayStorage
implements
IteratorAggregate,StorageInterface,StorageInitializationInterface
{
- // methods
- public void __construct()
- public void init()
- public mixed __get()
- public void __set()
- public bool __isset()
- public void __unset()
- public void __destruct()
- public bool offsetExists()
- public mixed offsetGet()
- public void offsetSet()
- public void offsetUnset()
- public int count()
- public string serialize()
- public mixed unserialize()
- public ArrayIterator getIterator()
- public SessionStorage fromArray()
- public SessionStorage markImmutable()
- public bool isImmutable()
- public ArrayStorage lock()
- public bool isLocked()
- public ArrayStorage unlock()
- public ArrayStorage setMetadata()
- public mixed getMetadata()
- public ArrayStorage clear()
- public float getRequestAccessTime()
- protected ArrayStorage setRequestAccessTime()
- public array toArray()
Hierarchy
Extended by
Implements
Methods
protected
- setRequestAccessTime() — Set the request access time
public
- __construct() — Constructor
- __destruct() — Destructor
- __get() — Get Offset
- __isset() — Isset Offset
- __set() — Set Offset
- __unset() — Unset Offset
- clear() — Clear the storage object or a subkey of the object
- count() — Count
- fromArray() — Load session object from an existing array
- getIterator() — Get Iterator
- getMetadata() — Retrieve metadata for the storage object or a specific metadata key
- getRequestAccessTime() — Retrieve the request access time
- init() — Initialize Storage
- isImmutable() — Determine if this object is isImmutable
- isLocked() — Is the object or key marked as locked?
- lock() — Lock this storage instance, or a key within it
- markImmutable() — Mark object as isImmutable
- offsetExists() — Offset Exists
- offsetGet() — Offset Get
- offsetSet() — Offset Set
- offsetUnset() — Offset Unset
- serialize() — Seralize
- setMetadata() — Set storage metadata
- toArray() — Cast the object to an array
- unlock() — Unlock an object or key marked as locked
- unserialize() — Unserialize