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
10 namespace Zend\Cache\Storage\Adapter
;
12 use Zend\Cache\Exception
;
13 use Zend\Session\Container
as SessionContainer
;
16 * These are options specific to the APC adapter
18 class SessionOptions
extends AdapterOptions
21 * The session container
23 * @var null|SessionContainer
25 protected $sessionContainer = null;
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;
44 * Get the session container
46 * @return null|SessionContainer
48 public function getSessionContainer()
50 return $this->sessionContainer
;