Total Complexity | 1 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
10 | class ConfigProvider |
||
11 | { |
||
12 | public const DEFAULT_CONFIG = [ |
||
13 | 'factories' => [ |
||
14 | Connection::class => DBALConnectionFactory::class, |
||
15 | ], |
||
16 | 'dbal' => [ |
||
17 | 'connections' => [ |
||
18 | // 'default' => [ |
||
19 | // 'url' => 'mysql://user:secret@localhost/mydb', |
||
20 | // ], |
||
21 | // 'other'=> [ |
||
22 | // 'url' => 'mysql://user:secret@localhost/another_db', |
||
23 | // ], |
||
24 | ] |
||
25 | ], |
||
26 | ]; |
||
27 | |||
28 | /** |
||
29 | * @return array<mixed> |
||
30 | */ |
||
31 | 1 | public function __invoke(): array |
|
36 |