aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default/container/services_attachment.yml
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/config/default/container/services_attachment.yml')
-rw-r--r--phpBB/config/default/container/services_attachment.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_attachment.yml b/phpBB/config/default/container/services_attachment.yml
new file mode 100644
index 0000000000..c56ced21f4
--- /dev/null
+++ b/phpBB/config/default/container/services_attachment.yml
@@ -0,0 +1,40 @@
+services:
+ attachment.delete:
+ class: phpbb\attachment\delete
+ shared: false
+ arguments:
+ - '@config'
+ - '@dbal.conn'
+ - '@dispatcher'
+ - '@filesystem'
+ - '@attachment.resync'
+ - '%core.root_path%'
+
+ attachment.manager:
+ class: phpbb\attachment\manager
+ shared: false
+ arguments:
+ - '@attachment.delete'
+ - '@attachment.resync'
+ - '@attachment.upload'
+
+ attachment.resync:
+ class: phpbb\attachment\resync
+ shared: false
+ arguments:
+ - '@dbal.conn'
+
+ attachment.upload:
+ class: phpbb\attachment\upload
+ shared: false
+ arguments:
+ - '@auth'
+ - '@cache'
+ - '@config'
+ - '@files.upload'
+ - '@language'
+ - '@mimetype.guesser'
+ - '@dispatcher'
+ - '@plupload'
+ - '@user'
+ - '%core.root_path%'