1 | <?php |
||
8 | class JsonDecoder implements DecoderInterface |
||
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 | 90 | public function __construct($assoc = false, $depth = 512, $options = JSON_BIGINT_AS_STRING) |
|
36 | |||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | 52 | public function decode($schema) |
|
51 | } |
||
52 |