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 / Cache / Storage / Adapter / SessionOptions.php
blob6bbaf4065b551261e2f4b8ae6472bd8bdcf91dd2
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\Cache\Storage\Adapter;
12 use Zend\Cache\Exception;
13 use Zend\Session\Container as SessionContainer;
15 /**
16 * These are options specific to the APC adapter
18 class SessionOptions extends AdapterOptions
20 /**
21 * The session container
23 * @var null|SessionContainer
25 protected $sessionContainer = null;
27 /**
28 * Set the session container
30 * @param null|SessionContainer $sessionContainer
31 * @return SessionOptions
33 public function setSessionContainer(SessionContainer $sessionContainer = null)
35 if ($this->sessionContainer != $sessionContainer) {
36 $this->triggerOptionEvent('session_container', $sessionContainer);
37 $this->sessionContainer = $sessionContainer;
40 return $this;
43 /**
44 * Get the session container
46 * @return null|SessionContainer
48 public function getSessionContainer()
50 return $this->sessionContainer;