public function getRoutePath($name)
    {
        if (null !== $this->get($name)) {
            return $this->get($name)->getPath();
        }

        return null;
    }
public function getRoutePath($name)
    {
        if (null !== $this->get($name)) {
            return $this->get($name)->getPath();
        }

        return null;
    }
public function getRoutePath ( $ name ) { if ( null !== $ this -> get ( $ name ) ) { return $ this -> get ( $ name ) -> getPath ( ) ; } return null ; }
Returns the path associated to a route.

@param  string $name The name of the route to look for.

@return string|null     The path of the route if found, null otherwise.
Returns the path associated to a route .