public function show(string $routeId)
    {
        Assert::stringNotEmpty($routeId);

        $response = $this->httpGet(sprintf('/v3/routes/%s', $routeId));

        return $this->hydrateResponse($response, ShowResponse::class);
    }
public function show(string $routeId)
    {
        Assert::stringNotEmpty($routeId);

        $response = $this->httpGet(sprintf('/v3/routes/%s', $routeId));

        return $this->hydrateResponse($response, ShowResponse::class);
    }
public function show ( string $ routeId ) { Assert :: stringNotEmpty ( $ routeId ) ; $ response = $ this -> httpGet ( sprintf ( '/v3/routes/%s' , $ routeId ) ) ; return $ this -> hydrateResponse ( $ response , ShowResponse :: class ) ; }
Returns a single Route object based on its ID.

@param string $routeId Route ID returned by the Routes::index() method

@return ShowResponse
Returns a single Route object based on its ID .