2012-04-09 00:22:55 +02:00
|
|
|
imports:
|
2012-07-21 16:14:21 +02:00
|
|
|
- { resource: tables.yml }
|
2012-04-09 00:22:55 +02:00
|
|
|
- { resource: cron_tasks.yml }
|
2012-11-09 07:40:08 -06:00
|
|
|
- { resource: notifications.yml }
|
2012-04-09 00:22:55 +02:00
|
|
|
|
2012-03-31 04:06:52 +02:00
|
|
|
services:
|
2012-08-25 16:39:38 +02:00
|
|
|
auth:
|
|
|
|
class: phpbb_auth
|
|
|
|
|
|
|
|
cache:
|
|
|
|
class: phpbb_cache_service
|
|
|
|
arguments:
|
|
|
|
- @cache.driver
|
|
|
|
|
|
|
|
cache.driver:
|
|
|
|
class: %cache.driver.class%
|
|
|
|
|
|
|
|
cache.driver.install:
|
|
|
|
class: phpbb_cache_driver_file
|
|
|
|
|
2012-03-31 20:45:33 +02:00
|
|
|
class_loader:
|
|
|
|
class: phpbb_class_loader
|
|
|
|
arguments:
|
|
|
|
- phpbb_
|
|
|
|
- %core.root_path%includes/
|
|
|
|
- .%core.php_ext%
|
2012-03-31 21:20:58 +02:00
|
|
|
calls:
|
|
|
|
- [register, []]
|
|
|
|
- [set_cache, [@cache.driver]]
|
2012-03-31 20:45:33 +02:00
|
|
|
|
|
|
|
class_loader.ext:
|
|
|
|
class: phpbb_class_loader
|
|
|
|
arguments:
|
|
|
|
- phpbb_ext_
|
|
|
|
- %core.root_path%ext/
|
|
|
|
- .%core.php_ext%
|
2012-03-31 21:20:58 +02:00
|
|
|
calls:
|
|
|
|
- [register, []]
|
|
|
|
- [set_cache, [@cache.driver]]
|
2012-03-31 20:45:33 +02:00
|
|
|
|
2012-08-25 16:39:38 +02:00
|
|
|
config:
|
|
|
|
class: phpbb_config_db
|
2012-03-31 20:21:26 +02:00
|
|
|
arguments:
|
2012-08-25 16:39:38 +02:00
|
|
|
- @dbal.conn
|
|
|
|
- @cache.driver
|
|
|
|
- %tables.config%
|
2012-03-31 04:06:52 +02:00
|
|
|
|
2012-08-25 16:39:38 +02:00
|
|
|
cron.task_provider:
|
|
|
|
class: phpbb_cron_task_provider
|
|
|
|
arguments:
|
|
|
|
- @container
|
2012-03-31 20:45:33 +02:00
|
|
|
|
2012-08-25 16:39:38 +02:00
|
|
|
cron.manager:
|
|
|
|
class: phpbb_cron_manager
|
|
|
|
arguments:
|
|
|
|
- @cron.task_provider
|
|
|
|
- %core.root_path%
|
|
|
|
- %core.php_ext%
|
|
|
|
|
|
|
|
cron.lock_db:
|
|
|
|
class: phpbb_lock_db
|
|
|
|
arguments:
|
|
|
|
- cron_lock
|
|
|
|
- @config
|
|
|
|
- @dbal.conn
|
2012-03-31 04:06:52 +02:00
|
|
|
|
|
|
|
dispatcher:
|
|
|
|
class: phpbb_event_dispatcher
|
|
|
|
|
|
|
|
dbal.conn:
|
2012-03-31 20:21:26 +02:00
|
|
|
class: %dbal.driver.class%
|
2012-03-31 04:06:52 +02:00
|
|
|
calls:
|
|
|
|
- [sql_connect, [%dbal.dbhost%, %dbal.dbuser%, %dbal.dbpasswd%, %dbal.dbname%, %dbal.dbport%, false, %dbal.new_link%]]
|
|
|
|
|
2012-08-25 16:39:38 +02:00
|
|
|
event.subscriber_loader:
|
|
|
|
class: phpbb_event_extension_subscriber_loader
|
2012-03-31 04:06:52 +02:00
|
|
|
arguments:
|
2012-08-25 16:39:38 +02:00
|
|
|
- @dispatcher
|
|
|
|
- @ext.manager
|
|
|
|
calls:
|
|
|
|
- [load, []]
|
2012-03-31 04:06:52 +02:00
|
|
|
|
|
|
|
ext.manager:
|
|
|
|
class: phpbb_extension_manager
|
|
|
|
arguments:
|
|
|
|
- @dbal.conn
|
2012-09-01 21:15:39 +01:00
|
|
|
- @config
|
2012-03-31 04:06:52 +02:00
|
|
|
- %tables.ext%
|
|
|
|
- %core.root_path%
|
|
|
|
- .%core.php_ext%
|
|
|
|
- @cache.driver
|
|
|
|
|
2012-10-04 14:47:13 -05:00
|
|
|
notification_manager:
|
2012-10-04 13:39:54 -05:00
|
|
|
class: phpbb_notification_manager
|
2012-09-08 10:49:58 -05:00
|
|
|
arguments:
|
2012-11-09 07:40:08 -06:00
|
|
|
- @container
|
2012-10-04 14:27:43 -05:00
|
|
|
- @dbal.conn
|
|
|
|
- @cache.driver
|
|
|
|
- @template
|
|
|
|
- @ext.manager
|
|
|
|
- @user
|
|
|
|
- @auth
|
|
|
|
- @config
|
|
|
|
- %core.root_path%
|
|
|
|
- %core.php_ext%
|
2012-09-08 10:49:58 -05:00
|
|
|
|
2012-09-08 14:41:41 +02:00
|
|
|
processor.ext:
|
2012-08-25 16:39:38 +02:00
|
|
|
class: phpbb_di_processor_ext
|
|
|
|
arguments:
|
|
|
|
- @ext.manager
|
|
|
|
tags:
|
|
|
|
- { name: container.processor }
|
|
|
|
|
|
|
|
request:
|
|
|
|
class: phpbb_request
|
|
|
|
|
2012-08-25 17:08:03 +02:00
|
|
|
style:
|
|
|
|
class: phpbb_style
|
|
|
|
arguments:
|
|
|
|
- %core.root_path%
|
|
|
|
- %core.php_ext%
|
|
|
|
- @config
|
|
|
|
- @user
|
|
|
|
- @style.resource_locator
|
|
|
|
- @style.path_provider_ext
|
|
|
|
- @template
|
|
|
|
|
2012-03-31 04:06:52 +02:00
|
|
|
style.resource_locator:
|
|
|
|
class: phpbb_style_resource_locator
|
|
|
|
|
|
|
|
style.path_provider_ext:
|
|
|
|
class: phpbb_style_extension_path_provider
|
|
|
|
arguments:
|
|
|
|
- @ext.manager
|
|
|
|
- @style.path_provider
|
|
|
|
|
|
|
|
style.path_provider:
|
|
|
|
class: phpbb_style_path_provider
|
|
|
|
|
|
|
|
template:
|
2012-07-21 15:36:25 +02:00
|
|
|
class: phpbb_template
|
2012-03-31 04:06:52 +02:00
|
|
|
arguments:
|
|
|
|
- %core.root_path%
|
|
|
|
- %core.php_ext%
|
|
|
|
- @config
|
|
|
|
- @user
|
|
|
|
- @style.resource_locator
|
|
|
|
- @style.path_provider_ext
|
|
|
|
|
2012-08-25 16:39:38 +02:00
|
|
|
user:
|
|
|
|
class: phpbb_user
|