1 | <?php |
||
8 | final class JsonDecoder implements JsonDecoderInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var bool |
||
12 | */ |
||
13 | private $assoc; |
||
14 | |||
15 | /** |
||
16 | * @var int |
||
17 | */ |
||
18 | private $depth; |
||
19 | |||
20 | /** |
||
21 | * @var int |
||
22 | */ |
||
23 | private $options; |
||
24 | |||
25 | /** |
||
26 | * @param bool $assoc |
||
27 | * @param int $depth |
||
28 | * @param int $options |
||
29 | */ |
||
30 | 88 | public function __construct($assoc = false, $depth = 512, $options = JSON_BIGINT_AS_STRING) |
|
36 | |||
37 | /** |
||
38 | * @param string $json |
||
39 | * |
||
40 | * @return object |
||
41 | */ |
||
42 | 50 | public function decode($json) |
|
52 | } |
||
53 |