| 1 | <?php  | 
            ||
| 10 | class JsonReader  | 
            ||
| 11 | { | 
            ||
| 12 | /**  | 
            ||
| 13 | * Caminho absoluto para o local do arquivo.  | 
            ||
| 14 | *  | 
            ||
| 15 | * @var string  | 
            ||
| 16 | */  | 
            ||
| 17 | private $file;  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * JsonReader constructor.  | 
            ||
| 21 | *  | 
            ||
| 22 | * @param string $file  | 
            ||
| 23 | */  | 
            ||
| 24 | public function __construct($file)  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * Responsável por retornar o conteúdo do arquivo.  | 
            ||
| 31 | *  | 
            ||
| 32 | * @return array|boolean  | 
            ||
| 33 | */  | 
            ||
| 34 | public function read()  | 
            ||
| 43 | }  | 
            ||
| 44 |