/**
* @author Drak <drak@zikula.org>
*/
class SessionHandlerProxy extends AbstractProxy
implements \SessionHandlerInterface, \SessionUpdateTimestampHandlerInterface
{ protected $handler;
public function __construct(\SessionHandlerInterface
$handler) { $this->handler =
$handler;
$this->wrapper =
$handler instanceof \SessionHandler;
$this->saveHandlerName =
$this->wrapper
|| ($handler instanceof StrictSessionHandler &&
$handler->
isWrapper()) ? \
ini_get('session.save_handler'
) : 'user';
} public function getHandler(): \SessionHandlerInterface
{ return $this->handler;
} // \SessionHandlerInterface
public function open(string
$savePath, string
$sessionName): bool
{