protected function processRaw(Request $request) {
		$resolver = $this->getResolver();
		$resolver->sortRoutes();

		$route = $resolver->getRoute($request);

		if($route) {
			$request->setRoute($route);
			$controllerClass = $route->getController();
			$action = $route->getAction();

			$controller = new $controllerClass();
			$controller->setFlash($this->flash);
			$controller->setResolver($this->resolver);
			$controller->setContainer($this->container);

			$this->prepareController($controller, $action, $request, $route);
		}
		else
			$controller = null;

		if($response = $this->hookManager->trigger('Asgard.Http.Start', [$request, $controller]))
			return $response;

		if($response = $this->executeStart($request, $controller))
			return $response;

		if($route === null)
			throw new Exception\NotFoundException;

		return $controller->run($action, $request);
	}
protected function processRaw(Request $request) {
		$resolver = $this->getResolver();
		$resolver->sortRoutes();

		$route = $resolver->getRoute($request);

		if($route) {
			$request->setRoute($route);
			$controllerClass = $route->getController();
			$action = $route->getAction();

			$controller = new $controllerClass();
			$controller->setFlash($this->flash);
			$controller->setResolver($this->resolver);
			$controller->setContainer($this->container);

			$this->prepareController($controller, $action, $request, $route);
		}
		else
			$controller = null;

		if($response = $this->hookManager->trigger('Asgard.Http.Start', [$request, $controller]))
			return $response;

		if($response = $this->executeStart($request, $controller))
			return $response;

		if($route === null)
			throw new Exception\NotFoundException;

		return $controller->run($action, $request);
	}
protected function processRaw ( Request $ request ) { $ resolver = $ this -> getResolver ( ) ; $ resolver -> sortRoutes ( ) ; $ route = $ resolver -> getRoute ( $ request ) ; if ( $ route ) { $ request -> setRoute ( $ route ) ; $ controllerClass = $ route -> getController ( ) ; $ action = $ route -> getAction ( ) ; $ controller = new $ controllerClass ( ) ; $ controller -> setFlash ( $ this -> flash ) ; $ controller -> setResolver ( $ this -> resolver ) ; $ controller -> setContainer ( $ this -> container ) ; $ this -> prepareController ( $ controller , $ action , $ request , $ route ) ; } else $ controller = null ; if ( $ response = $ this -> hookManager -> trigger ( 'Asgard.Http.Start' , [ $ request , $ controller ] ) ) return $ response ; if ( $ response = $ this -> executeStart ( $ request , $ controller ) ) return $ response ; if ( $ route === null ) throw new Exception \ NotFoundException ; return $ controller -> run ( $ action , $ request ) ; }
Return a raw response.
@param  Request $request
@throws Exception\NotFoundException If route not found.
@return mixed
Return a raw response .