aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/installer/container/services_update_obtain_data.yml
blob: 999976aed0a2075111bad48e77b55d04ea95c307 (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
services:
    installer.obtain_data.update_options:
        class: phpbb\install\module\obtain_data\task\obtain_update_settings
        arguments:
            - '@installer.helper.config'
            - '@installer.helper.iohandler'
        tags:
            - { name: update_obtain_data, order: 10 }

    installer.obtain_data.file_updater_method:
        class: phpbb\install\module\obtain_data\task\obtain_file_updater_method
        arguments:
            - '@installer.helper.config'
            - '@installer.helper.iohandler'
        tags:
            - { name: update_obtain_data, order: 20 }

    installer.obtain_data.update_files:
        class: phpbb\install\module\obtain_data\task\obtain_update_files
        arguments:
            - '@installer.helper.config'
            - '@installer.helper.iohandler'
            - '%core.root_path%'
            - '%core.php_ext%'
        tags:
            - { name: update_obtain_data, order: 30 }

    installer.obtain_data.update_ftp_settings:
        class: phpbb\install\module\obtain_data\task\obtain_update_ftp_data
        arguments:
            - '@installer.helper.config'
            - '@installer.helper.iohandler'
            - '@installer.helper.update_helper'
            - '%core.php_ext%'
        tags:
            - { name: update_obtain_data, order: 40 }

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

    installer.module.obtain_data_update:
        class: phpbb\install\module\obtain_data\update_module
        parent: installer.module_base
        arguments:
            - '@installer.module.update_obtain_data_collection'
            - true
            - false
        tags:
            - { name: installer_update_module, order: 20 }