public function getRoute() {
        if ($this->route === null && $this->isIgnoredRoute() === false) {
            $this->route = $this->routes->matchRoute($this);
        }

        return $this->route;
    }
public function getRoute() {
        if ($this->route === null && $this->isIgnoredRoute() === false) {
            $this->route = $this->routes->matchRoute($this);
        }

        return $this->route;
    }
public function getRoute ( ) { if ( $ this -> route === null && $ this -> isIgnoredRoute ( ) === false ) { $ this -> route = $ this -> routes -> matchRoute ( $ this ) ; } return $ this -> route ; }
Returns a route that is comparable to the current request context.

@return Route|null
Returns a route that is comparable to the current request context .