Zend\Session\Storage\StorageInterface
Session storage interface
Defines the minimum requirements for handling userland, in-script session
storage (e.g., the $_SESSION superglobal array).
Synopsis
interface StorageInterface
extends Traversable, ArrayAccess, Serializable, Countable
{
- // methods
- public void getRequestAccessTime()
- public void lock()
- public void isLocked()
- public void unlock()
- public void markImmutable()
- public void isImmutable()
- public void setMetadata()
- public void getMetadata()
- public void clear()
- public void fromArray()
- public void toArray()
- // Inherited methods from ArrayAccess
- public boolean offsetExists()
- public mixed offsetGet()
- public void offsetSet()
- public void offsetUnset()
- // Inherited methods from Serializable
- public string serialize()
- public void unserialize()
- // Inherited methods from Countable
- public int count()
Hierarchy
Extends
Implemented by
Methods
public
- clear()
- fromArray()
- getMetadata()
- getRequestAccessTime()
- isImmutable()
- isLocked()
- lock()
- markImmutable()
- setMetadata()
- toArray()
- unlock()
Inherited from ArrayAccess
public
- offsetExists() — Whether a offset exists
- offsetGet() — Offset to retrieve
- offsetSet() — Offset to set
- offsetUnset() — Offset to unset
Inherited from Serializable
public
- serialize() — String representation of object
- unserialize() — Constructs the object
Inherited from Countable
public
- count() — Count elements of an object