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 / Memory / Container / ContainerInterface.php
blob02fdadfcd68ffe48bb847cfcbb9fca233d121bfe
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\Memory\Container;
12 /**
13 * Memory value container interface
15 interface ContainerInterface
17 /**
18 * Get string value reference
20 * _Must_ be used for value access before PHP v 5.2
21 * or _may_ be used for performance considerations
23 * @return &string
25 public function &getRef();
27 /**
28 * Signal, that value is updated by external code.
30 * Should be used together with getRef()
32 public function touch();
34 /**
35 * Lock object in memory.
37 public function lock();
39 /**
40 * Unlock object
42 public function unlock();
44 /**
45 * Return true if object is locked
47 * @return bool
49 public function isLocked();