1 | <?php |
||
18 | class LocalizableScope implements ScopeInterface |
||
|
|||
19 | { |
||
20 | /** |
||
21 | * Apply the scope to a given Eloquent query builder. |
||
22 | * |
||
23 | * @param \Illuminate\Database\Eloquent\Builder $builder |
||
24 | * @param \Illuminate\Database\Eloquent\Model $model |
||
25 | * @return void |
||
26 | */ |
||
27 | public function apply(Builder $builder, Model $model) |
||
34 | |||
35 | protected function queryHasLocalizableColumn(Builder $builder) |
||
46 | |||
47 | /** |
||
48 | * Get the "deleted at" column for the builder. |
||
49 | * |
||
50 | * @param \Illuminate\Database\Eloquent\Builder $builder |
||
51 | * @return string |
||
52 | */ |
||
53 | protected function getLocalizableColumn(Builder $builder) |
||
61 | |||
62 | |||
63 | /** |
||
64 | * Remove the scope from the given Eloquent query builder. |
||
65 | * |
||
66 | * @param \Illuminate\Database\Eloquent\Builder $builder |
||
67 | * @param \Illuminate\Database\Eloquent\Model $model |
||
68 | * @return void |
||
69 | */ |
||
70 | public function remove(Builder $builder, Model $model) |
||
89 | } |
||
90 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.