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