1 | <?php declare(strict_types = 1); |
||
11 | final class MongoQuerySerializer |
||
12 | { |
||
13 | /** |
||
14 | * @param Query $query |
||
15 | */ |
||
16 | 1 | public static function serialize(Query $query) |
|
22 | |||
23 | /** |
||
24 | * @param array|object $data |
||
25 | * |
||
26 | * @return array|object |
||
27 | */ |
||
28 | 1 | private static function prepareUnserializableData($data) |
|
36 | |||
37 | /** |
||
38 | * @param mixed $item |
||
39 | * |
||
40 | * @return mixed |
||
41 | */ |
||
42 | 1 | private static function prepareItemData($item) |
|
66 | |||
67 | } |
||
68 |