Total Complexity | 2 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class LowerThanOrEqualToLogic extends AbstractOperation |
||
11 | { |
||
12 | /** |
||
13 | * @var QueryInterface |
||
14 | */ |
||
15 | private $query; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $value; |
||
21 | |||
22 | /** |
||
23 | * @param RethinkInterface $rethink |
||
24 | * @param QueryInterface $query |
||
25 | * @param $value |
||
26 | */ |
||
27 | public function __construct( |
||
28 | RethinkInterface $rethink, |
||
29 | QueryInterface $query, |
||
30 | $value |
||
31 | ) { |
||
32 | parent::__construct($rethink); |
||
33 | |||
34 | $this->value = $value; |
||
35 | $this->rethink = $rethink; |
||
36 | |||
37 | $this->query = $query; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @inheritdoc |
||
42 | */ |
||
43 | public function toArray(): array |
||
51 | ], |
||
52 | ]; |
||
55 |