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-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-10-19 19:54:19 -04:00
|
|
|
controller.helper:
|
|
|
|
class: phpbb_controller_helper
|
|
|
|
arguments:
|
2012-11-13 11:02:01 -05:00
|
|
|
- @template
|
|
|
|
- @user
|
|
|
|
- %core.root_path%
|
|
|
|
- .%core.php_ext%
|
2012-10-19 19:54:19 -04:00
|
|
|
|
|
|
|
controller.resolver:
|
|
|
|
class: phpbb_controller_resolver
|
|
|
|
arguments:
|
|
|
|
- @user
|
|
|
|
- @service_container
|
|
|
|
- @ext.finder
|
|
|
|
|
|
|
|
controller.route_collection:
|
|
|
|
class: phpbb_controller_route_collection
|
|
|
|
arguments:
|
|
|
|
- @ext.finder
|
|
|
|
- @controller.provider
|
|
|
|
|
|
|
|
controller.provider:
|
|
|
|
class: phpbb_controller_provider
|
2012-11-13 11:02:01 -05:00
|
|
|
|
2012-10-21 16:09:43 -04:00
|
|
|
cron.task_collection:
|
2012-11-10 16:38:19 +01:00
|
|
|
class: phpbb_di_service_collection
|
2012-10-22 11:17:49 -04:00
|
|
|
arguments:
|
|
|
|
- @service_container
|
2012-11-11 18:39:24 +01:00
|
|
|
tags:
|
|
|
|
- { name: service_collection, tag: cron.task }
|
2012-10-21 16:09:43 -04:00
|
|
|
|
2012-08-25 16:39:38 +02:00
|
|
|
cron.manager:
|
|
|
|
class: phpbb_cron_manager
|
|
|
|
arguments:
|
2012-10-22 11:17:49 -04:00
|
|
|
- @cron.task_collection
|
2012-08-25 16:39:38 +02:00
|
|
|
- %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
|
2012-10-19 19:53:29 -04:00
|
|
|
arguments:
|
|
|
|
- @service_container
|
2012-03-31 04:06:52 +02:00
|
|
|
|
|
|
|
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-11-13 11:02:01 -05:00
|
|
|
|
2012-10-19 19:54:19 -04:00
|
|
|
ext.finder:
|
|
|
|
class: phpbb_extension_finder
|
|
|
|
arguments:
|
|
|
|
- @ext.manager
|
|
|
|
- %core.root_path%
|
|
|
|
- @cache.driver
|
2012-11-14 15:52:41 -05:00
|
|
|
- .%core.php_ext%
|
2012-10-19 19:54:19 -04:00
|
|
|
- _ext_finder
|
|
|
|
|
|
|
|
http_kernel:
|
|
|
|
class: Symfony\Component\HttpKernel\HttpKernel
|
|
|
|
arguments:
|
|
|
|
- @dispatcher
|
|
|
|
- @controller.resolver
|
|
|
|
|
|
|
|
kernel_event_subscriber:
|
|
|
|
class: phpbb_event_kernel_subscriber
|
|
|
|
arguments:
|
|
|
|
- @template
|
|
|
|
- @user
|
2012-11-14 15:42:13 -05:00
|
|
|
- @ext.finder
|
|
|
|
- %core.root_path%
|
|
|
|
- .%core.php_ext%
|
2012-10-19 19:54:19 -04:00
|
|
|
tags:
|
|
|
|
- { name: kernel.event_subscriber }
|
2012-03-31 04:06:52 +02:00
|
|
|
|
2012-08-25 16:39:38 +02:00
|
|
|
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
|
2012-11-02 18:51:35 -04:00
|
|
|
- @template_context
|
|
|
|
|
|
|
|
template_context:
|
|
|
|
class: phpbb_template_context
|
2012-03-31 04:06:52 +02:00
|
|
|
|
2012-08-25 16:39:38 +02:00
|
|
|
user:
|
|
|
|
class: phpbb_user
|