Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
9 | class RepeatableScope implements Scope |
||
10 | { |
||
11 | protected $slug; |
||
12 | |||
13 | /** |
||
14 | * Create a new controller instance. |
||
15 | * |
||
16 | * @return void |
||
17 | */ |
||
18 | public function __construct($slug) |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Apply the scope to a given Eloquent query builder. |
||
25 | * |
||
26 | * @param \Illuminate\Database\Eloquent\Builder $builder |
||
27 | * @param \Illuminate\Database\Eloquent\Model $model |
||
28 | * @return void |
||
29 | */ |
||
30 | public function apply(Builder $builder, Model $model) |
||
33 | } |
||
34 | } |