Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class PdoPgSqlConfiguration extends PluginRoutingKeyConfiguration implements DriverConfigurationInterface |
||
22 | { |
||
23 | use HostPortDbTrait; |
||
24 | use UserPasswordTrait; |
||
25 | |||
26 | 1 | public function getParameters(): array |
|
27 | { |
||
28 | 1 | return [ |
|
29 | 1 | 'driver' => static::name(), |
|
30 | 1 | 'user' => $this->getUser(), |
|
31 | 1 | 'host' => $this->getHost(), |
|
32 | 1 | 'password' => $this->getPassword(), |
|
33 | 1 | 'port' => $this->getPort(5432), |
|
34 | 1 | 'dbname' => $this->getDb(), |
|
35 | 1 | ]; |
|
36 | } |
||
37 | |||
38 | 2 | public static function name(): string |
|
41 | } |
||
42 | } |
||
43 |