aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-03-31 21:20:58 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 21:20:58 +0200
commitdc9ccc432cd0b24cf762f8285d8a90f52b8efe5b (patch)
tree48c515e004227983761a6ed61c960c25d38c5fa9 /phpBB/config
parenta7f61b91b7feec80cd9d544502aef937f036ae7c (diff)
downloadforums-dc9ccc432cd0b24cf762f8285d8a90f52b8efe5b.tar
forums-dc9ccc432cd0b24cf762f8285d8a90f52b8efe5b.tar.gz
forums-dc9ccc432cd0b24cf762f8285d8a90f52b8efe5b.tar.bz2
forums-dc9ccc432cd0b24cf762f8285d8a90f52b8efe5b.tar.xz
forums-dc9ccc432cd0b24cf762f8285d8a90f52b8efe5b.zip
[feature/dic] Make use of calls to cut down on boilerplate
PHPBB3-10739
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/services.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/config/services.yml b/phpBB/config/services.yml
index ef459f4903..6f2ed8c7c3 100644
--- a/phpBB/config/services.yml
+++ b/phpBB/config/services.yml
@@ -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