Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
15 | trait SimpleEloquent |
||
16 | { |
||
17 | use HasRelationships; |
||
18 | |||
19 | /** |
||
20 | * Create a new Eloquent query builder for the model. |
||
21 | * |
||
22 | * @param Builder $query |
||
23 | * @return Builder|static |
||
24 | */ |
||
25 | 33 | public function newEloquentBuilder($query) |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * Get all of the models from the database. |
||
32 | * |
||
33 | * @param array|mixed $columns |
||
34 | * @return Collection|stdClass[]|array |
||
35 | */ |
||
36 | 1 | public static function allSimple($columns = ['*']) |
|
48 |