| 1 | <?php |
||
| 7 | trait RetryDriver |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Attempts to create a connection with the database. |
||
| 11 | * |
||
| 12 | * @param array $params All connection parameters passed by the user. |
||
| 13 | * @param string|null $username The username to use when connecting. |
||
| 14 | * @param string|null $password The password to use when connecting. |
||
| 15 | * @param array $driverOptions The driver options to use when connecting. |
||
| 16 | * |
||
| 17 | * @return \Doctrine\DBAL\Driver\Connection The database connection. |
||
| 18 | */ |
||
| 19 | public function connect(Array $params, $username = null, $password = null, Array $driverOptions = []) { |
||
| 22 | } |
||
| 23 |