1 | <?php |
||
13 | class ThisEqualThatCriteria extends Criteria |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * @var |
||
18 | */ |
||
19 | private $field; |
||
20 | |||
21 | /** |
||
22 | * @var |
||
23 | */ |
||
24 | private $value; |
||
25 | |||
26 | /** |
||
27 | * ThisEqualThatCriteria constructor. |
||
28 | * |
||
29 | * @param $field |
||
30 | * @param $value |
||
31 | */ |
||
32 | public function __construct($field, $value) |
||
37 | |||
38 | /** |
||
39 | * @param $model |
||
40 | * @param \Prettus\Repository\Contracts\RepositoryInterface $repository |
||
41 | * |
||
42 | * @return mixed |
||
43 | */ |
||
44 | public function apply($model, PrettusRepositoryInterface $repository) |
||
48 | } |
||
49 |