aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/installer/container/services_install_database.yml
blob: 743d62bae54f0548de4a489b20523749063309ef (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
services:
    installer.install_database.create_schema:
        class: phpbb\install\module\install_database\task\create_schema
        arguments:
            - @installer.helper.config
            - @installer.helper.database
            - @filesystem
            - @installer.helper.iohandler
            - %core.root_path%
            - %core.php_ext%
        tags:
            - { name: install_database_install, order: 10 }

    installer.install_database.add_default_data:
        class: phpbb\install\module\install_database\task\add_default_data
        arguments:
            - @installer.helper.database
            - @installer.helper.config
            - @installer.helper.iohandler
            - @installer.helper.container_factory
            - @language
            - %core.root_path%
        tags:
            - { name: install_database_install, order: 20 }

    installer.install_database.add_config_settings:
        class: phpbb\install\module\install_database\task\add_config_settings
        arguments:
            - @filesystem
            - @installer.helper.config
            - @installer.helper.iohandler
            - @installer.helper.container_factory
            - @language
            - %core.root_path%
        tags:
            - { name: install_database_install, order: 30 }

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

    installer.module.database_install:
        class: phpbb\install\module\install_database\module
        parent: installer.module_base
        arguments:
            - @installer.module.install_database_collection
        tags:
            - { name: installer_install_module, order: 40 }