1 | <?php |
||
12 | class EagerLoadScope implements Scope |
||
13 | { |
||
14 | /** |
||
15 | * Apply the scope to a given Eloquent query builder. |
||
16 | * |
||
17 | * @param \Illuminate\Database\Eloquent\Builder $builder |
||
18 | * @param \Illuminate\Database\Eloquent\Model $entity |
||
19 | * |
||
20 | * @return void |
||
21 | */ |
||
22 | public function apply(Builder $builder, Entity $entity): void |
||
35 | } |
||
36 |