Source of file StorageInterface.php
Size: 1,164 Bytes - Last Modified: 2014-03-12T23:21:18+01:00
/home/theseer/Downloads/ZendFramework-2.3.0/library/Zend/Session/Storage/StorageInterface.php
123456789101112131415161718192021222324252627282930313233343536373839404142 | <?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace Zend\Session\Storage; use ArrayAccess; use Countable; use Serializable; use Traversable; /** * Session storage interface * * Defines the minimum requirements for handling userland, in-script session * storage (e.g., the $_SESSION superglobal array). */ interface StorageInterface extends Traversable, ArrayAccess, Serializable, Countable { public function getRequestAccessTime(); public function lock($key = null); public function isLocked($key = null); public function unlock($key = null); public function markImmutable(); public function isImmutable(); public function setMetadata($key, $value, $overwriteArray = false); public function getMetadata($key = null); public function clear($key = null); public function fromArray(array $array); public function toArray($metaData = false); } |