Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
Json
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 handle
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
1<?php
2
3namespace Qmp\Laravel\MongoJsExecutor\Replacers;
4
5use OviDigital\JsObjectToJson\JsConverter;
6
7class 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}