Scalr\Api\Rest\Application::getRouteUrl PHP Method

getRouteUrl() public method

Gets url for the specified route
public getRouteUrl ( string $route, array $params = [] ) : string
$route string The name of the route
$params array optional The parameters
return string Returns the URL for the specified Route
    public function getRouteUrl($route, $params = [])
    {
        return $this->request->getUrl() . $this->router->getPath($route, $params);
    }