Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Session / Storage / StorageInterface.php
blob2fff8ddf304642ed12458e86327af485b0a11419
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Session\Storage;
12 use ArrayAccess;
13 use Countable;
14 use Serializable;
15 use Traversable;
17 /**
18 * Session storage interface
20 * Defines the minimum requirements for handling userland, in-script session
21 * storage (e.g., the $_SESSION superglobal array).
23 interface StorageInterface extends Traversable, ArrayAccess, Serializable, Countable
25 public function getRequestAccessTime();
27 public function lock($key = null);
28 public function isLocked($key = null);
29 public function unlock($key = null);
31 public function markImmutable();
32 public function isImmutable();
34 public function setMetadata($key, $value, $overwriteArray = false);
35 public function getMetadata($key = null);
37 public function clear($key = null);
39 public function fromArray(array $array);
40 public function toArray($metaData = false);