private function addSchedulesToCalendar($calendar, $schedules)
    {
        $calendar->schedules = $schedules;
        $calendar->schedules->date_times = $this->prepareDateTimes($calendar->schedules->date_times);

        return $calendar;
    }
private function addSchedulesToCalendar($calendar, $schedules)
    {
        $calendar->schedules = $schedules;
        $calendar->schedules->date_times = $this->prepareDateTimes($calendar->schedules->date_times);

        return $calendar;
    }
private function addSchedulesToCalendar ( $ calendar , $ schedules ) { $ calendar -> schedules = $ schedules ; $ calendar -> schedules -> date_times = $ this -> prepareDateTimes ( $ calendar -> schedules -> date_times ) ; return $ calendar ; }
Add schedules coming from Navitia to calendar object
Add schedules coming from Navitia to calendar object