public function __invoke() { if ($this->HasParentMethod(__FUNCTION__)) { $this->__Load(); return $this->FowardMethodCall(__FUNCTION__, func_get_args()); } else { trigger_error('Function name must be a string', E_USER_ERROR); } }