Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
| driver | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
| getSchemaManager | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| createDatabasePlatformForVersion | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | /** |
| 3 | * |
| 4 | * This file is part of the phpBB Forum Software package. |
| 5 | * |
| 6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
| 7 | * @license GNU General Public License, version 2 (GPL-2.0) |
| 8 | * |
| 9 | * For full copyright and license information, please see |
| 10 | * the docs/CREDITS.txt file. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | namespace phpbb\db\middleware\oracle; |
| 15 | |
| 16 | use Doctrine\DBAL\Connection as DoctrineConnection; |
| 17 | use Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware; |
| 18 | use Doctrine\DBAL\Platforms\AbstractPlatform; |
| 19 | |
| 20 | /** |
| 21 | * Oracle Doctrine driver middleware. |
| 22 | * Makes use of phpBB's Oracle specific platform. |
| 23 | */ |
| 24 | class driver extends AbstractDriverMiddleware |
| 25 | { |
| 26 | /** |
| 27 | * {@inheritDoc} |
| 28 | */ |
| 29 | public function getSchemaManager(DoctrineConnection $conn, AbstractPlatform $platform) |
| 30 | { |
| 31 | return new schema_manager($conn, $platform); |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * {@inheritDoc} |
| 36 | */ |
| 37 | public function createDatabasePlatformForVersion($version) |
| 38 | { |
| 39 | return new platform(); |
| 40 | } |
| 41 | } |