public function getRouteData($routeExternalId, $externalCoverageId)
    {
        // param depth '3' to get 'administrative_region' in response
        $response = $this->navitia_sam->getRoute($externalCoverageId, $routeExternalId, 3);
        if (!isset($response->routes) || empty($response->routes)) {
            throw new \Exception(
                $this->translator->trans(
                    'services.navitia.no_data_for_this_route',
                    array('%RouteId%' => $routeExternalId),
                    'exceptions'
                )
            );
        }

        return ($response->routes[0]);
    }
public function getRouteData($routeExternalId, $externalCoverageId)
    {
        // param depth '3' to get 'administrative_region' in response
        $response = $this->navitia_sam->getRoute($externalCoverageId, $routeExternalId, 3);
        if (!isset($response->routes) || empty($response->routes)) {
            throw new \Exception(
                $this->translator->trans(
                    'services.navitia.no_data_for_this_route',
                    array('%RouteId%' => $routeExternalId),
                    'exceptions'
                )
            );
        }

        return ($response->routes[0]);
    }
public function getRouteData ( $ routeExternalId , $ externalCoverageId ) { // param depth '3' to get 'administrative_region' in response $ response = $ this -> navitia_sam -> getRoute ( $ externalCoverageId , $ routeExternalId , 3 ) ; if ( ! isset ( $ response -> routes ) || empty ( $ response -> routes ) ) { throw new \ Exception ( $ this -> translator -> trans ( 'services.navitia.no_data_for_this_route' , array ( '%RouteId%' => $ routeExternalId ) , 'exceptions' ) ) ; } return ( $ response -> routes [ 0 ] ) ; }
Returns Stop Point title.

@param string $coverageId
@param string $networkId
@param string $lineId

@return type
Returns Stop Point title .