Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
Json | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
handle | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
1 | <?php |
2 | |
3 | namespace Qmp\Laravel\MongoJsExecutor\Replacers; |
4 | |
5 | use OviDigital\JsObjectToJson\JsConverter; |
6 | |
7 | class Json extends MongoJsParserReplacer |
8 | { |
9 | /** |
10 | * Undocumented function |
11 | * |
12 | * @return void |
13 | */ |
14 | public function handle($json) |
15 | { |
16 | return JsConverter::convertToJson($json); |
17 | } |
18 | } |