Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class QueryScope implements ConstrainInterface |
||
|
|||
12 | { |
||
13 | /** @var array */ |
||
14 | private $where; |
||
15 | |||
16 | /** @var array */ |
||
17 | private $orderBy; |
||
18 | |||
19 | /** |
||
20 | * @param array $where |
||
21 | * @param array $orderBy |
||
22 | */ |
||
23 | public function __construct(array $where, array $orderBy = []) |
||
24 | { |
||
25 | $this->where = $where; |
||
26 | $this->orderBy = $orderBy; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @inheritdoc |
||
31 | */ |
||
32 | public function apply(QueryBuilder $query): void |
||
35 | } |
||
36 | } |
||
37 |
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.