| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class FamilyEventTable implements Table |
||
| 10 | { |
||
| 11 | protected const TemplatePath = __DIR__.'/../Templates/familyEvents.json'; |
||
| 12 | |||
| 13 | public function query(): Builder |
||
| 14 | { |
||
| 15 | return FamilyEvent::selectRaw(' |
||
|
|
|||
| 16 | family_events.id, family_events.date, family_events.title, family_events.description, family_events.created_at |
||
| 17 | '); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function templatePath(): string |
||
| 23 | } |
||
| 24 | } |
||
| 25 |