1services:
2    installer.update_database.update_task:
3        class: phpbb\install\module\update_database\task\update
4        arguments:
5            - '@installer.helper.container_factory'
6            - '@filesystem'
7            - '@installer.helper.config'
8            - '@installer.helper.iohandler'
9            - '@language'
10            - '%core.root_path%'
11        tags:
12            - { name: update_database_task, order: 10 }
13
14    installer.update_database.update_extensions:
15        class: phpbb\install\module\update_database\task\update_extensions
16        arguments:
17            - '@installer.helper.container_factory'
18            - '@installer.helper.config'
19            - '@installer.helper.iohandler'
20            - '@installer.helper.update_helper'
21            - '%core.root_path%'
22        tags:
23            - { name: update_database_task, order: 20 }
24
25    installer.module.update_database_collection:
26        class: phpbb\di\ordered_service_collection
27        arguments:
28            - '@service_container'
29        tags:
30            - { name: service_collection, tag: update_database_task, class_name_aware: true }
31
32    installer.module.update_database:
33        class: phpbb\install\module\update_database\module
34        parent: installer.module_base
35        arguments:
36            - '@installer.module.update_database_collection'
37            - true
38            - false
39        tags:
40            - { name: installer_update_module, order: 40 }
41