Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | abstract class QueryAbstract implements \JsonSerializable |
||
9 | { |
||
10 | use AccessorTrait; |
||
11 | |||
12 | protected $options = []; |
||
13 | |||
14 | /** |
||
15 | * @inheritdoc |
||
16 | */ |
||
17 | public function __toString() |
||
18 | { |
||
19 | return json_encode($this, JSON_PRETTY_PRINT); |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @inheritdoc |
||
24 | */ |
||
25 | public function jsonSerialize() |
||
28 | } |
||
29 | } |
||
30 |