| 1 | <?php |
||
| 4 | class FilterScope implements FilterInterface |
||
| 5 | { |
||
| 6 | /** |
||
| 7 | * @var Model |
||
| 8 | */ |
||
| 9 | protected $model; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Construct |
||
| 13 | * |
||
| 14 | * @param Model $model |
||
| 15 | */ |
||
| 16 | 14 | public function __construct($model) |
|
| 20 | |||
| 21 | /** |
||
| 22 | * Filter |
||
| 23 | * |
||
| 24 | * @param Query\Builder $query |
||
| 25 | * @param int|string $key |
||
| 26 | * @param mixed $value |
||
| 27 | * |
||
| 28 | * @return boolean |
||
| 29 | */ |
||
| 30 | 14 | public function filter($query, $key, $value) |
|
| 41 | } |
||
| 42 |
This function 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 function will be removed from the class and what other function to use instead.