namespace Symfony\Component\HttpFoundation\Session\Storage\Proxy;
/**
- * SessionHandler proxy.
- *
* @author Drak <drak@zikula.org>
*/
class SessionHandlerProxy extends AbstractProxy implements \SessionHandlerInterface
{
- /**
- * @var \SessionHandlerInterface
- */
protected $handler;
- /**
- * Constructor.
- *
- * @param \SessionHandlerInterface $handler
- */
public function __construct(\SessionHandlerInterface $handler)
{
$this->handler = $handler;
$this->saveHandlerName = $this->wrapper ? ini_get('session.save_handler') : 'user';
}
+ /**
+ * @return \SessionHandlerInterface
+ */
+ public function getHandler()
+ {
+ return $this->handler;
+ }
+
// \SessionHandlerInterface
/**