aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default/container/services_attachment.yml
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-10-05 14:09:13 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-10-09 10:20:27 +0200
commit11475283eb85d2dd029a57d0917b8cd7194d0886 (patch)
tree10d46d1d2a8005c8fe707da55f9c18fa91de32f0 /phpBB/config/default/container/services_attachment.yml
parent1f1e708815369cc25f1c59c5ed69a49f80b64318 (diff)
downloadforums-11475283eb85d2dd029a57d0917b8cd7194d0886.tar
forums-11475283eb85d2dd029a57d0917b8cd7194d0886.tar.gz
forums-11475283eb85d2dd029a57d0917b8cd7194d0886.tar.bz2
forums-11475283eb85d2dd029a57d0917b8cd7194d0886.tar.xz
forums-11475283eb85d2dd029a57d0917b8cd7194d0886.zip
[ticket/14168] Move attachment service definitions to services_attachment
PHPBB3-14168
Diffstat (limited to 'phpBB/config/default/container/services_attachment.yml')
-rw-r--r--phpBB/config/default/container/services_attachment.yml32
1 files changed, 32 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..8e3fbe8f35
--- /dev/null
+++ b/phpBB/config/default/container/services_attachment.yml
@@ -0,0 +1,32 @@
+services:
+ attachment.delete:
+ class: phpbb\attachment\delete
+ scope: prototype
+ arguments:
+ - @config
+ - @dbal.conn
+ - @dispatcher
+ - @filesystem
+ - @attachment.resync
+ - %core.root_path%
+
+ 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%