aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default/container/services_files.yml
blob: a4136a057357f0e1c27db6fb1712b1f51c680c94 (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
54
55
56
57
58
59
services:
    filesystem:
        class: phpbb\filesystem\filesystem

    files.factory:
        class: phpbb\files\factory
        arguments:
            - @service_container

    files.filespec:
        class: phpbb\files\filespec
        scope: prototype
        arguments:
            - @filesystem
            - @language
            - @php_ini
            - %core.root_path%
            - @mimetype.guesser
            - @plupload

    files.upload:
        class: phpbb\files\upload
        scope: prototype
        arguments:
            - @filesystem
            - @files.factory
            - @language
            - @php_ini
            - @request
            - %core.root_path%

    files.types.form:
        class: phpbb\files\types\form
        scope: prototype
        arguments:
            - @files.factory
            - @language
            - @php_ini
            - @plupload
            - @request

    files.types.local:
        class: phpbb\files\types\form
        scope: prototype
        arguments:
            - @files.factory
            - @language
            - @php_ini
            - @request

    files.types.remote:
        class: phpbb\files\types\remote
        scope: prototype
        arguments:
            - @files.factory
            - @language
            - @php_ini
            - @request
            - %core.root_path%