Services/Navitia.php
public function getRoute($coverageId, $routeId, $depth = 1)
    {
        $query = array(
            'api' => 'coverage',
            'parameters' => array(
                'region'      => $coverageId,
                'path_filter' => 'routes/'.$routeId,
                'parameters'  => '?depth='.$depth
            )
        );

        return $this->navitia_component->call($query);
    }
public function getRoute($coverageId, $routeId, $depth = 1)
    {
        $query = array(
            'api' => 'coverage',
            'parameters' => array(
                'region'      => $coverageId,
                'path_filter' => 'routes/'.$routeId,
                'parameters'  => '?depth='.$depth
            )
        );

        return $this->navitia_component->call($query);
    }
public function getRoute ( $ coverageId , $ routeId , $ depth = 1 ) { $ query = array ( 'api' => 'coverage' , 'parameters' => array ( 'region' => $ coverageId , 'path_filter' => 'routes/' . $ routeId , 'parameters' => '?depth=' . $ depth ) ) ; return $ this -> navitia_component -> call ( $ query ) ; }
Returns Basic Route data with corresponding line data.

@param string $coverageId
@param string $routeId
@param int    $depth

@return stdClass
Returns Basic Route data with corresponding line data .