protected function callHook($hook) { if ($this->enableHooks) { return $this->hooks->call_hook($hook); } return false; }
protected function callHook($hook) { if ($this->enableHooks) { $this->hooks->call_hook($hook); } }