Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | abstract class AbstractQuery implements QueryInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var MessageInterface |
||
14 | */ |
||
15 | protected $message; |
||
16 | |||
17 | /** |
||
18 | * @var RethinkInterface |
||
19 | */ |
||
20 | protected $rethink; |
||
21 | |||
22 | public function __construct(RethinkInterface $rethink) |
||
23 | { |
||
24 | $this->rethink = $rethink; |
||
25 | } |
||
26 | |||
27 | 14 | public function run() |
|
33 | } |
||
34 | |||
35 | abstract public function toArray(): array; |
||
36 | } |
||
37 |