Total Complexity | 3 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class Model extends BaseModel |
||
20 | { |
||
21 | /** @var array */ |
||
22 | protected $visible = []; |
||
23 | |||
24 | /** @var array */ |
||
25 | protected $sortable = []; |
||
26 | |||
27 | /** @var array */ |
||
28 | protected $searchable = []; |
||
29 | |||
30 | /** @var array */ |
||
31 | protected $filterable = []; |
||
32 | |||
33 | /** |
||
34 | * Get sortable columns |
||
35 | * |
||
36 | * @return array |
||
37 | */ |
||
38 | public function getSortable() |
||
39 | { |
||
40 | return $this->sortable; |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * Get searchable columns |
||
45 | * |
||
46 | * @return array |
||
47 | */ |
||
48 | public function getSearchable() |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * Get filterable columns |
||
55 | * |
||
56 | * @return array |
||
57 | */ |
||
58 | public function getFilterable() |
||
61 | } |
||
62 | } |
||
63 |