Total Complexity | 8 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | abstract class AbstractReader implements ReaderInterface |
||
12 | { |
||
13 | protected Builder $builder; |
||
14 | |||
15 | public function __construct(Builder $builder) |
||
16 | { |
||
17 | $this->builder = $builder; |
||
18 | } |
||
19 | |||
20 | public function read($path): array |
||
38 | } |
||
39 | |||
40 | protected function getFileContents($path): string |
||
48 | } |
||
49 | |||
50 | abstract protected function readRaw($path); |
||
51 | } |
||
52 |