aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/migrator.yml
blob: 999a2d41a34530e9f159ce9e302ba09155de5773 (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
services:
    migrator:
        class: phpbb_db_migrator
        arguments:
            - @config
            - @dbal.conn
            - @dbal.tools
            - %tables.migrations%
            - %core.root_path%
            - %core.php_ext%
            - %core.table_prefix%
            - @migrator.tool_collection

    migrator.tool_collection:
        class: phpbb_di_service_collection
        arguments:
            - @service_container
        tags:
            - { name: service_collection, tag: migrator.tool }

    migrator.tool.config:
        class: phpbb_db_migration_tool_config
        arguments:
            - @config
        tags:
            - { name: migrator.tool }

    migrator.tool.module:
        class: phpbb_db_migration_tool_module
        arguments:
            - @dbal.conn
            - @cache
            - @user
            - %core.root_path%
            - %core.php_ext%
            - %tables.modules%
        tags:
            - { name: migrator.tool }

    migrator.tool.permission:
        class: phpbb_db_migration_tool_permission
        arguments:
            - @dbal.conn
            - @cache
            - @auth
            - %core.root_path%
            - %core.php_ext%
        tags:
            - { name: migrator.tool }