blob: d5381776039057e83fea0d9f375eac7e75b843d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
services:
dbal.conn:
class: phpbb\db\driver\factory
arguments:
- '@service_container'
dbal.conn.driver:
synthetic: true
# ----- DB Tools -----
dbal.tools.factory:
class: phpbb\db\tools\factory
dbal.tools:
class: phpbb\db\tools\tools_interface
factory: ['@dbal.tools.factory', get]
arguments:
- '@dbal.conn.driver'
# ----- DB Extractor -----
dbal.extractor.factory:
class: phpbb\db\extractor\factory
arguments:
- '@dbal.conn.driver'
- '@service_container'
dbal.extractor:
class: phpbb\db\extractor\extractor_interface
factory: ['@dbal.extractor.factory', get]
# ----- DB Extractors for different drivers -----
# Service MUST NOT be shared for all the handlers to work correctly.
dbal.extractor.extractors.mssql_extractor:
class: phpbb\db\extractor\mssql_extractor
shared: false
arguments:
- '%core.root_path%'
- '@request'
- '@dbal.conn.driver'
dbal.extractor.extractors.mysql_extractor:
class: phpbb\db\extractor\mysql_extractor
shared: false
arguments:
- '%core.root_path%'
- '@request'
- '@dbal.conn.driver'
dbal.extractor.extractors.oracle_extractor:
class: phpbb\db\extractor\oracle_extractor
shared: false
arguments:
- '%core.root_path%'
- '@request'
- '@dbal.conn.driver'
dbal.extractor.extractors.postgres_extractor:
class: phpbb\db\extractor\postgres_extractor
shared: false
arguments:
- '%core.root_path%'
- '@request'
- '@dbal.conn.driver'
dbal.extractor.extractors.sqlite3_extractor:
class: phpbb\db\extractor\sqlite3_extractor
shared: false
arguments:
- '%core.root_path%'
- '@request'
- '@dbal.conn.driver'
|