Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class LowerThanLogic extends AbstractQuery |
||
12 | { |
||
13 | use OperationTrait; |
||
14 | |||
15 | /** |
||
16 | * @var QueryInterface |
||
17 | */ |
||
18 | private $query; |
||
19 | |||
20 | /** |
||
21 | * @var mixed |
||
22 | */ |
||
23 | private $value; |
||
24 | |||
25 | public function __construct( |
||
26 | RethinkInterface $rethink, |
||
27 | QueryInterface $query, |
||
28 | $value |
||
29 | ) { |
||
30 | parent::__construct($rethink); |
||
31 | |||
32 | $this->value = $value; |
||
33 | $this->rethink = $rethink; |
||
34 | |||
35 | $this->query = $query; |
||
36 | } |
||
37 | |||
38 | public function toArray(): array |
||
46 | ], |
||
47 | ]; |
||
50 |