Total Complexity | 2 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class AuraSqlEnvModule extends AbstractModule |
||
11 | { |
||
12 | private string $dsn; |
||
13 | private string $user; |
||
14 | private string $password; |
||
15 | private string $slave; |
||
16 | |||
17 | /** @var array<mixed> */ |
||
18 | private array $options; |
||
19 | |||
20 | /** |
||
21 | * @param string $dsn Data Source Name (DSN) |
||
22 | * @param string $user User name for the DSN string |
||
23 | * @param string $password Password for the DSN string |
||
24 | * @param string $slave Comma separated slave host list |
||
25 | * @param array<mixed> $options A key=>value array of driver-specific connection options |
||
26 | */ |
||
27 | public function __construct(string $dsn, string $user = '', string $password = '', string $slave = '', array $options = []) |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | protected function configure(): void |
||
55 |