| 1 | <?php |
||
| 8 | class TimetableDateslotStrategy extends BaseTimetableStrategy implements TimetableStrategyInterface |
||
| 9 | { |
||
| 10 | 1 | public function __construct(Timetable $timetable) |
|
| 14 | |||
| 15 | 1 | protected function initTimetable($starting, $days) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * Build timetable. |
||
| 26 | * |
||
| 27 | * @param \Illuminate\Database\Eloquent\Collection $vacancies |
||
| 28 | * @param string $starting |
||
| 29 | * @param int $days |
||
| 30 | * |
||
| 31 | * @return array |
||
| 32 | */ |
||
| 33 | 1 | public function buildTimetable($vacancies, $starting = 'today', $days = 1) |
|
| 43 | |||
| 44 | 1 | protected function updateTimeslots(Vacancy $vacancy) |
|
| 55 | } |
||
| 56 |