private function _callControllerMethod(AppRequest $appRequest, ControllerRoute $route) { if (!method_exists($this->calledController, $route->getRoutePointer()->getMethodName())) { throw new AemosCriticalException("unknown page method", HttpStatusCode::notFound()); } call_user_func_array(array($this->calledController, $route->getRoutePointer()->getMethodName()), $route->getParameters($appRequest->getRequestUrl())); }