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..5506b2ec90
--- /dev/null
+++ b/phpBB/config/default/container/services_attachment.yml
@@ -0,0 +1,40 @@
+services:
+ attachment.delete:
+ class: phpbb\attachment\delete
+ scope: prototype
+ arguments:
+ - @config
+ - @dbal.conn
+ - @dispatcher
+ - @filesystem
+ - @attachment.resync
+ - %core.root_path%
+
+ attachment.manager:
+ class: phpbb\attachment\manager
+ scope: prototype
+ arguments:
+ - @attachment.delete
+ - @attachment.resync
+ - @attachment.upload
+
+ attachment.resync:
+ class: phpbb\attachment\resync
+ scope: prototype
+ arguments:
+ - @dbal.conn
+
+ attachment.upload:
+ class: phpbb\attachment\upload
+ scope: prototype
+ arguments:
+ - @auth
+ - @cache
+ - @config
+ - @files.upload
+ - @language
+ - @mimetype.guesser
+ - @dispatcher
+ - @plupload
+ - @user
+ - %core.root_path%