diff options
author | Marc Alexander <admin@m-a-styles.de> | 2012-11-14 23:14:41 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2012-11-15 18:10:54 +0100 |
commit | 60b4c907b292a46b40cad1c0330e76b897a2309b (patch) | |
tree | b052a9b4af0a9b71a83bb3ec730f19dc46cd4bfb /phpBB/config/services.yml | |
parent | 076785d76a1412394636095f0b296964419e2a4f (diff) | |
download | forums-60b4c907b292a46b40cad1c0330e76b897a2309b.tar forums-60b4c907b292a46b40cad1c0330e76b897a2309b.tar.gz forums-60b4c907b292a46b40cad1c0330e76b897a2309b.tar.bz2 forums-60b4c907b292a46b40cad1c0330e76b897a2309b.tar.xz forums-60b4c907b292a46b40cad1c0330e76b897a2309b.zip |
[feature/avatars] Add service containers for avatars
PHPBB3-10018
Diffstat (limited to 'phpBB/config/services.yml')
-rw-r--r-- | phpBB/config/services.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/phpBB/config/services.yml b/phpBB/config/services.yml index 20aa0546d5..3d33731eea 100644 --- a/phpBB/config/services.yml +++ b/phpBB/config/services.yml @@ -1,11 +1,30 @@ imports: - { resource: tables.yml } - { resource: cron_tasks.yml } + - { resource: avatars.yml } services: auth: class: phpbb_auth + avatar.driver_collection: + class: phpbb_di_service_collection + arguments: + - @service_container + tags: + - { name: service_collection, tag: avatar.driver } + + avatar.manager: + class: phpbb_avatar_manager + arguments: + - %core.root_path% + - .%core.php_ext% + - @config + - @request + - @cache.driver + - @avatar.driver_collection + - @service_container + cache: class: phpbb_cache_service arguments: |