aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default/container/services_files.yml
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/config/default/container/services_files.yml')
-rw-r--r--phpBB/config/default/container/services_files.yml56
1 files changed, 56 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_files.yml b/phpBB/config/default/container/services_files.yml
new file mode 100644
index 0000000000..2624ae5e06
--- /dev/null
+++ b/phpBB/config/default/container/services_files.yml
@@ -0,0 +1,56 @@
+services:
+ files.factory:
+ class: phpbb\files\factory
+ arguments:
+ - @service_container
+
+ files.filespec:
+ class: phpbb\files\filespec
+ scope: prototype
+ arguments:
+ - @filesystem
+ - @language
+ - @php_ini
+ - @upload_imagesize
+ - %core.root_path%
+ - @mimetype.guesser
+ - @plupload
+
+ files.upload:
+ class: phpbb\files\upload
+ scope: prototype
+ arguments:
+ - @filesystem
+ - @files.factory
+ - @language
+ - @php_ini
+ - @request
+
+ 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%