1 | <?php |
||
14 | class JSONFileStorage extends FileStorage |
||
15 | { |
||
16 | /** |
||
17 | * Serialize the value using `json_encode()`. |
||
18 | * |
||
19 | * @inheritdoc |
||
20 | */ |
||
21 | protected function serialize($value) |
||
25 | |||
26 | /** |
||
27 | * Unserialize the value using `json_decode()`. |
||
28 | * |
||
29 | * @inheritdoc |
||
30 | */ |
||
31 | protected function unserialize($value) |
||
35 | } |
||
36 |