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); }
public function __call($name, $arguments) { return parent::__call($name, $arguments); }