| 1 | <?php |
||
| 11 | class InvalidJson extends Exception { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $json; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | public function getJson() { |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $json |
||
| 27 | * @return $this |
||
| 28 | */ |
||
| 29 | public function setJson($json) { |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $json |
||
| 37 | */ |
||
| 38 | public function __construct($json) { |
||
| 45 | |||
| 46 | } |