src/Timetable/Strategies/TimetableTimeslotStrategy.php
public function buildTimetable($vacancies, $starting = 'today', $days = 1)
    {
        $this->initTimetable($starting, $days);

        foreach ($vacancies as $vacancy) {
            $this->updateTimeslots($vacancy, $this->interval);
        }

        return $this->timetable->get();
    }
public function buildTimetable($vacancies, $starting = 'today', $days = 1)
    {
        $this->initTimetable($starting, $days);

        foreach ($vacancies as $vacancy) {
            $this->updateTimeslots($vacancy, $this->interval);
        }

        return $this->timetable->get();
    }
public function buildTimetable ( $ vacancies , $ starting = 'today' , $ days = 1 ) { $ this -> initTimetable ( $ starting , $ days ) ; foreach ( $ vacancies as $ vacancy ) { $ this -> updateTimeslots ( $ vacancy , $ this -> interval ) ; } return $ this -> timetable -> get ( ) ; }
Build timetable.

@param \Illuminate\Database\Eloquent\Collection $vacancies
@param string                                  $starting
@param int                                     $days

@return array
Build timetable .