aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/installer/container/services_update_database.yml
blob: bb97cff48974e09cdda05e6c49af4b9b54c9e327 (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
services:
    installer.update_database.update_task:
        class: phpbb\install\module\update_database\task\update
        arguments:
            - '@installer.helper.container_factory'
            - '@filesystem'
            - '@installer.helper.config'
            - '@installer.helper.iohandler'
            - '@language'
            - '%core.root_path%'
        tags:
            - { name: update_database_task, order: 10 }

    installer.update_database.update_extensions:
        class: phpbb\install\module\update_database\task\update_extensions
        arguments:
            - '@installer.helper.container_factory'
            - '@installer.helper.config'
            - '@installer.helper.iohandler'
            - '@installer.helper.update_helper'
            - '%core.root_path%'
        tags:
            - { name: update_database_task, order: 20 }

    installer.module.update_database_collection:
        class: phpbb\di\ordered_service_collection
        arguments:
            - '@service_container'
        tags:
            - { name: service_collection, tag: update_database_task, class_name_aware: true }

    installer.module.update_database:
        class: phpbb\install\module\update_database\module
        parent: installer.module_base
        arguments:
            - '@installer.module.update_database_collection'
            - true
            - false
        tags:
            - { name: installer_update_module, order: 40 }