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