1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Merge pull request #6273 from CHItA/ticket/16741

[ticket/16741] Database tools to use Doctrine
This commit is contained in:
Máté Bartus
2022-01-17 20:08:50 +01:00
committed by GitHub
50 changed files with 2674 additions and 3629 deletions

View File

@@ -7,6 +7,11 @@ services:
dbal.conn.driver:
synthetic: true
dbal.conn.doctrine:
class: Doctrine\DBAL\Connection
factory: ['phpbb\db\doctrine\connection_factory', 'get_connection']
arguments: ['@config.php']
# ----- DB Tools -----
dbal.tools.factory:
class: phpbb\db\tools\factory
@@ -15,7 +20,7 @@ services:
class: phpbb\db\tools\tools_interface
factory: ['@dbal.tools.factory', get]
arguments:
- '@dbal.conn.driver'
- '@dbal.conn.doctrine'
# ----- DB Extractor -----
dbal.extractor.factory: