Exemple #1
0
 public function __call($name, $arguments)
 {
     if (in_array($name, $this->protectedActions)) {
         if (empty($this->session->user)) {
             throw new \Http\Exception('Forbidden', 403);
         }
     }
     return parent::__call($name, $arguments);
 }
Exemple #2
0
 public function __call($name, $arguments)
 {
     return parent::__call($name, $arguments);
 }