final public function run(Request $request)
    {
        $this->request = $request;
        $path = $this->request->getUri()->getPath();
        $this->requestedUri = ($path != "/") ? rtrim($path, "/") : "/";
        $this->requestedMethod = strtoupper($this->request->getMethod());
        $this->requestedRepresentation = $this->request->getAccept();
        $this->verifyRequestMethod();
        $route = $this->findRouteFromRequest();
        $this->prepareResponse($route);
    }
final public function run(Request $request)
    {
        $this->request = $request;
        $path = $this->request->getUri()->getPath();
        $this->requestedUri = ($path != "/") ? rtrim($path, "/") : "/";
        $this->requestedMethod = strtoupper($this->request->getMethod());
        $this->requestedRepresentation = $this->request->getAccept();
        $this->verifyRequestMethod();
        $route = $this->findRouteFromRequest();
        $this->prepareResponse($route);
    }
final public function run ( Request $ request ) { $ this -> request = $ request ; $ path = $ this -> request -> getUri ( ) -> getPath ( ) ; $ this -> requestedUri = ( $ path != "/" ) ? rtrim ( $ path , "/" ) : "/" ; $ this -> requestedMethod = strtoupper ( $ this -> request -> getMethod ( ) ) ; $ this -> requestedRepresentation = $ this -> request -> getAccept ( ) ; $ this -> verifyRequestMethod ( ) ; $ route = $ this -> findRouteFromRequest ( ) ; $ this -> prepareResponse ( $ route ) ; }
Launch the routing process to determine, according to the
initiated request, the best route to execute. Cannot be overridden.

@param Request $request
@throws \Exception
Launch the routing process to determine according to the initiated request the best route to execute . Cannot be overridden .