Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 91.67% |
Changes | 0 |
1 | <?php |
||
20 | class ArrayConnectionConfigurationLoader implements ConnectionLoaderInterface |
||
21 | { |
||
22 | /** @var null|string */ |
||
23 | private $filename; |
||
24 | |||
25 | 14 | public function __construct(?string $filename) |
|
28 | 14 | } |
|
29 | |||
30 | /** |
||
31 | * Read the input and return a Configuration, returns null if the config |
||
32 | * is not supported. |
||
33 | * |
||
34 | * @throws InvalidConfiguration |
||
35 | */ |
||
36 | 14 | public function chosen() : ?Connection |
|
55 |