mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-26 13:04:24 +01:00
[ticket/14168] Move attachment service definitions to services_attachment
PHPBB3-14168
This commit is contained in:
parent
1f1e708815
commit
11475283eb
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:
|
||||
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:
|
||||
class: phpbb\filesystem\filesystem
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user