public function call() { \Pagon\Session::start($this->injectors); $this->next(); }
public function register(Session $session) { $session->app->output->on('header', function () use($session) { $session->saveSession(); }); }
public function register(Session $session) { $session->app->on('end', function () use($session) { $session->saveSession(); }); }