1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 23:41:29 +02:00

[feature/dic] Make use of calls to cut down on boilerplate

PHPBB3-10739
This commit is contained in:
Igor Wiedler
2012-03-31 21:20:58 +02:00
parent a7f61b91b7
commit dc9ccc432c
4 changed files with 11 additions and 17 deletions

View File

@@ -5,6 +5,9 @@ services:
- phpbb_
- %core.root_path%includes/
- .%core.php_ext%
calls:
- [register, []]
- [set_cache, [@cache.driver]]
class_loader.ext:
class: phpbb_class_loader
@@ -12,6 +15,9 @@ services:
- phpbb_ext_
- %core.root_path%ext/
- .%core.php_ext%
calls:
- [register, []]
- [set_cache, [@cache.driver]]
cache:
class: phpbb_cache_service
@@ -95,6 +101,8 @@ services:
arguments:
- @dispatcher
- @ext.manager
calls:
- [load, []]
cron.task_provider:
class: phpbb_cron_task_provider