mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14168] Move attachment service definitions to services_attachment
PHPBB3-14168
This commit is contained in:
parent
1f1e708815
commit
11475283eb
2 changed files with 32 additions and 32 deletions
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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue