public function uriFor($route, array $params = [], array $query = [])
    {
        if (!$route) {
            return '';
        }

        return $this->router->relativePathFor($route, $params, $query);
    }
public function uriFor($route, array $params = [], array $query = [])
    {
        if (!$route) {
            return '';
        }

        return $this->router->relativePathFor($route, $params, $query);
    }
public function uriFor ( $ route , array $ params = [ ] , array $ query = [ ] ) { if ( ! $ route ) { return '' ; } return $ this -> router -> relativePathFor ( $ route , $ params , $ query ) ; }
Get the relative URL for a given route name.

@param string $route
@param array $params
@param array $query

@return string
Get the relative URL for a given route name .