public function __call($method, $parameters) { $methodArray = array('Sentry', $method); if (is_callable($methodArray)) { return call_user_func_array(array('Sentry', $method), $parameters); } return parent::__call($method, $parameters); }