Total Complexity | 6 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
16 | class ScheduleService implements ScheduleServiceContract |
||
17 | { |
||
18 | public function getByUserId($userId) |
||
19 | { |
||
20 | return Schedule::where('user_id', $userId)->get(); |
||
21 | } |
||
22 | |||
23 | public function find($id): ?Schedule |
||
30 | } |
||
31 | |||
32 | public function update($id, $data): Schedule |
||
39 | } |
||
40 | |||
41 | public function create($data): Schedule |
||
47 | } |
||
48 | |||
49 | public function delete($id): bool |
||
54 |