mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12090] Make provider a service and inject it into the helper
PHPBB3-12090
This commit is contained in:
@@ -91,10 +91,10 @@ services:
|
||||
controller.helper:
|
||||
class: phpbb\controller\helper
|
||||
arguments:
|
||||
- @ext.finder
|
||||
- @template
|
||||
- @user
|
||||
- @config
|
||||
- @controller.provider
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
|
||||
@@ -105,6 +105,11 @@ services:
|
||||
- @service_container
|
||||
- @template
|
||||
|
||||
controller.provider:
|
||||
class: phpbb\controller\provider
|
||||
arguments:
|
||||
- @ext.finder
|
||||
|
||||
cron.task_collection:
|
||||
class: phpbb\di\service_collection
|
||||
arguments:
|
||||
|
Reference in New Issue
Block a user