Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class FileAdapter implements AdapterInterface |
||
14 | { |
||
15 | /** @var string */ |
||
16 | private string $file; |
||
17 | |||
18 | /** |
||
19 | * FileAdapter constructor. |
||
20 | * |
||
21 | * @param string $file |
||
22 | */ |
||
23 | public function __construct(string $file) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @return array |
||
30 | * @throws InvalidArgumentException |
||
31 | */ |
||
32 | public function load(): array |
||
43 |