3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2016 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\Session\Container
as SessionContainer
;
15 * These are options specific to the APC adapter
17 class SessionOptions
extends AdapterOptions
20 * The session container
22 * @var null|SessionContainer
24 protected $sessionContainer = null;
27 * Set the session container
29 * @param null|SessionContainer $sessionContainer
30 * @return SessionOptions Provides a fluent interface
32 public function setSessionContainer(SessionContainer
$sessionContainer = null)
34 if ($this->sessionContainer
!= $sessionContainer) {
35 $this->triggerOptionEvent('session_container', $sessionContainer);
36 $this->sessionContainer
= $sessionContainer;
43 * Get the session container
45 * @return null|SessionContainer
47 public function getSessionContainer()
49 return $this->sessionContainer
;