1 | <?php |
||
8 | trait WrapperDriver |
||
9 | { |
||
10 | /** |
||
11 | * Gets the SchemaManager that can be used to inspect and change the underlying |
||
12 | * database schema of the platform this driver connects to. |
||
13 | * |
||
14 | * @param \Doctrine\DBAL\Connection $connection |
||
15 | * |
||
16 | * @return \Doctrine\DBAL\Schema\AbstractSchemaManager |
||
17 | */ |
||
18 | public function getSchemaManager(Connection $connection) { |
||
21 | |||
22 | /** |
||
23 | * Gets the name of the database connected to for this driver. |
||
24 | * |
||
25 | * @param \Doctrine\DBAL\Connection $connection |
||
26 | * |
||
27 | * @return string The name of the database. |
||
28 | */ |
||
29 | public function getDatabase(Connection $connection) { |
||
32 | |||
33 | private function callOnWrappedDriver(Connection $connection, $method) |
||
50 | } |
||
51 |