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