Total Complexity | 5 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Coverage | 57.14% |
Changes | 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 | 19 | public function createDatabasePlatformForVersion($version) |
|
30 | { |
||
31 | 19 | return $this->getDatabasePlatform(); |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | 38 | public function getDatabasePlatform() |
|
40 | } |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | 19 | public function getSchemaManager(\Doctrine\DBAL\Connection $conn) |
|
48 | } |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | 19 | public function getName() |
|
58 |