1 | <?php |
||
11 | class ModelConfig extends Config implements ConfigContract, Arrayable, Jsonable, JsonSerializable |
||
|
|||
12 | { |
||
13 | |||
14 | protected $orderBy = []; |
||
15 | protected $wheres = []; |
||
16 | |||
17 | /** |
||
18 | * Get Model |
||
19 | * |
||
20 | * @return \Illuminate\Database\Eloquent\Model |
||
21 | * @throws \Sco\Admin\Exceptions\InvalidArgumentException |
||
22 | */ |
||
23 | protected function getModel() |
||
31 | |||
32 | public function where($filters) |
||
37 | |||
38 | public function orderBy($column, $direction = 'asc') |
||
43 | |||
44 | public function paginate($perPage = null) |
||
54 | |||
55 | protected function compileWhere() |
||
66 | } |
||
67 |