Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 4 | ||
Bugs | 2 | Features | 0 |
1 | <?php |
||
19 | class JsonDecodeException extends \InvalidArgumentException |
||
20 | { |
||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | private $json; |
||
25 | |||
26 | /** |
||
27 | * @param string $message The Exception message to throw |
||
28 | * @param int $code The Exception code |
||
29 | * @param Throwable $previous The previous throwable used for the exception chaining |
||
30 | * @param string $json The JSON data. |
||
31 | */ |
||
32 | public function __construct($message = "", $code = 0, Throwable $previous = null, $json = "") |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | public function getJson() |
||
46 |