1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

[feature/dic] Move class loader into DIC

PHPBB3-10739
This commit is contained in:
Igor Wiedler
2012-03-31 20:45:33 +02:00
parent bca600877c
commit 873630f04e
2 changed files with 26 additions and 12 deletions

View File

@@ -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