mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/14168] Move attachment service definitions to services_attachment
PHPBB3-14168
This commit is contained in:
32
phpBB/config/default/container/services_attachment.yml
Normal file
32
phpBB/config/default/container/services_attachment.yml
Normal file
@@ -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%
|
@@ -1,36 +1,4 @@
|
|||||||
services:
|
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%
|
|
||||||
|
|
||||||
filesystem:
|
filesystem:
|
||||||
class: phpbb\filesystem\filesystem
|
class: phpbb\filesystem\filesystem
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user