| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class MySQLConfiguration implements ConfigurationInterface |
||
| 8 | { |
||
| 9 | use TCPConfigurationTrait; |
||
|
|
|||
| 10 | |||
| 11 | /** |
||
| 12 | * Creates a configuration set representing a connection to a database. |
||
| 13 | * |
||
| 14 | * @param string $host The hostname on which the database server resides. |
||
| 15 | * @param int $port The port number where the database server is listening (default is 3306). |
||
| 16 | * @param string $database The name of the database. |
||
| 17 | * @param string $username The user name for the DSN string. This parameter is optional for some PDO drivers. |
||
| 18 | * @param string $password The password for the DSN string. This parameter is optional for some PDO drivers. |
||
| 19 | * @param string $charset The character set. |
||
| 20 | * @param array $options A key=>value array of PDO driver-specific connection options. |
||
| 21 | */ |
||
| 22 | public function __construct( |
||
| 45 |