1 | <?php |
||
28 | class SourceJson implements SourceInterface |
||
29 | { |
||
30 | /** |
||
31 | * The JsonFile. |
||
32 | * |
||
33 | * @var JsonFile |
||
34 | */ |
||
35 | protected $jsonFile; |
||
36 | |||
37 | /** |
||
38 | * Create a new instance. |
||
39 | * |
||
40 | * @param string $filename The filename. |
||
41 | */ |
||
42 | public function __construct($filename) |
||
46 | |||
47 | /** |
||
48 | * {@inheritDoc} |
||
49 | */ |
||
50 | public function get($path, $forceArray = false) |
||
54 | |||
55 | /** |
||
56 | * {@inheritDoc} |
||
57 | */ |
||
58 | public function has($path) |
||
62 | |||
63 | /** |
||
64 | * {@inheritDoc} |
||
65 | */ |
||
66 | public function set($path, $value) |
||
72 | } |
||
73 |