Sets user session handler.
public setHandler ( SessionHandlerInterface $handler ) : self | ||
$handler | SessionHandlerInterface | |
return | self |
/** * @internal * @param Nette\Http\Session $session * @return RedisSessionHandler */ public function bind(Nette\Http\Session $session) { $this->session = $session; $session->setHandler($this); return $this; }