1 | <?php |
||
13 | class JsonReader |
||
14 | { |
||
15 | /** |
||
16 | * Caminho absoluto para o local do arquivo. |
||
17 | * |
||
18 | * @var string |
||
19 | */ |
||
20 | private $file; |
||
21 | |||
22 | /** |
||
23 | * JsonReader constructor. |
||
24 | * |
||
25 | * @param string $file |
||
26 | */ |
||
27 | public function __construct($file) |
||
31 | |||
32 | /** |
||
33 | * Responsável por retornar o conteúdo do arquivo. |
||
34 | * |
||
35 | * @return array |
||
36 | */ |
||
37 | public function read() |
||
45 | } |
||
46 |