| Total Complexity | 5 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Coverage | 72.72% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class Driver extends \Doctrine\DBAL\Driver\PDOMySql\Driver |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * {@inheritdoc} |
||
| 15 | */ |
||
| 16 | public function connect(array $params, $username = null, $password = null, array $driverOptions = []) |
||
| 17 | { |
||
| 18 | return new Connection( |
||
| 19 | $this->constructPdoDsn($params), |
||
| 20 | $username, |
||
| 21 | $password, |
||
| 22 | $driverOptions |
||
| 23 | ); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | 81 | public function createDatabasePlatformForVersion($version) |
|
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | 81 | public function getDatabasePlatform() |
|
| 38 | { |
||
| 39 | 81 | return new DrizzlePlatform(); |
|
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | 27 | public function getSchemaManager(\Doctrine\DBAL\Connection $conn) |
|
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritdoc} |
||
| 52 | * |
||
| 53 | * @deprecated |
||
| 54 | */ |
||
| 55 | 108 | public function getName() |
|
| 58 | } |
||
| 59 | } |
||
| 60 |