diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 20:45:33 +0200 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 20:45:33 +0200 |
| commit | 873630f04e6502cc69e6b208f596414f240bc923 (patch) | |
| tree | fadb51652a7a6da463cd2f4dac383e19616e39bb /phpBB/config | |
| parent | bca600877cbd92246949366238d365bbc3039d5a (diff) | |
| download | forums-873630f04e6502cc69e6b208f596414f240bc923.tar forums-873630f04e6502cc69e6b208f596414f240bc923.tar.gz forums-873630f04e6502cc69e6b208f596414f240bc923.tar.bz2 forums-873630f04e6502cc69e6b208f596414f240bc923.tar.xz forums-873630f04e6502cc69e6b208f596414f240bc923.zip | |
[feature/dic] Move class loader into DIC
PHPBB3-10739
Diffstat (limited to 'phpBB/config')
| -rw-r--r-- | phpBB/config/services.yml | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/phpBB/config/services.yml b/phpBB/config/services.yml index 85a230de52..ef459f4903 100644 --- a/phpBB/config/services.yml +++ b/phpBB/config/services.yml @@ -1,13 +1,28 @@ services: + class_loader: + class: phpbb_class_loader + arguments: + - phpbb_ + - %core.root_path%includes/ + - .%core.php_ext% + + class_loader.ext: + class: phpbb_class_loader + arguments: + - phpbb_ext_ + - %core.root_path%ext/ + - .%core.php_ext% + cache: class: phpbb_cache_service arguments: - @cache.driver cache.driver: - class: phpbb_cache_driver_interface - arguments: - - %cache.driver.class% + class: %cache.driver.class% + + cache.driver.install: + class: phpbb_cache_driver_file dispatcher: class: phpbb_event_dispatcher |
