public function getRouteCalendars($externalCoverageId, $externalRouteId, \DateTime $startDate, \DateTime $endDate)
    {
        $query = array(
            'api' => 'coverage',
            'parameters' => array(
                'region' => $externalCoverageId,
                'action' => 'calendars',
                'path_filter' => 'routes/'.$externalRouteId,
                'parameters' => '?start_date='.$startDate->format($this->dateFormat).'&end_date='.$endDate->format($this->dateFormat),
            ),
        );

        return $this->navitia_component->call($query);
    }
public function getRouteCalendars($externalCoverageId, $externalRouteId, \DateTime $startDate, \DateTime $endDate)
    {
        $query = array(
            'api' => 'coverage',
            'parameters' => array(
                'region' => $externalCoverageId,
                'action' => 'calendars',
                'path_filter' => 'routes/'.$externalRouteId,
                'parameters' => '?start_date='.$startDate->format($this->dateFormat).'&end_date='.$endDate->format($this->dateFormat),
            ),
        );

        return $this->navitia_component->call($query);
    }
public function getRouteCalendars ( $ externalCoverageId , $ externalRouteId , \ DateTime $ startDate , \ DateTime $ endDate ) { $ query = array ( 'api' => 'coverage' , 'parameters' => array ( 'region' => $ externalCoverageId , 'action' => 'calendars' , 'path_filter' => 'routes/' . $ externalRouteId , 'parameters' => '?start_date=' . $ startDate -> format ( $ this -> dateFormat ) . '&end_date=' . $ endDate -> format ( $ this -> dateFormat ) , ) , ) ; return $ this -> navitia_component -> call ( $ query ) ; }
Returns Calendars for a route.

@param string $externalCoverageId
@param string $externalRouteId

@return object
Returns Calendars for a route .