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