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 }
|
2013-01-08 22:09:14 -06:00
|
|
|
- { resource: migrator.yml }
|
2012-11-14 23:14:41 +01:00
|
|
|
- { resource: avatars.yml }
|
2013-06-06 19:35:36 +02:00
|
|
|
- { resource: feed.yml }
|
2013-06-20 21:29:16 -04:00
|
|
|
- { resource: auth_providers.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
|
|
|
|
|
2012-11-14 23:14:41 +01:00
|
|
|
avatar.manager:
|
|
|
|
class: phpbb_avatar_manager
|
|
|
|
arguments:
|
|
|
|
- @config
|
|
|
|
- @avatar.driver_collection
|
|
|
|
- @service_container
|
|
|
|
|
2012-08-25 16:39:38 +02:00
|
|
|
cache:
|
|
|
|
class: phpbb_cache_service
|
|
|
|
arguments:
|
|
|
|
- @cache.driver
|
2012-12-26 17:57:05 -05:00
|
|
|
- @config
|
|
|
|
- @dbal.conn
|
|
|
|
- %core.root_path%
|
|
|
|
- %core.php_ext%
|
2012-08-25 16:39:38 +02:00
|
|
|
|
|
|
|
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/
|
2013-04-24 17:07:30 -05:00
|
|
|
- %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/
|
2013-04-24 17:07:30 -05:00
|
|
|
- %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
|
|
|
|
2013-03-05 03:13:27 +01:00
|
|
|
config_text:
|
|
|
|
class: phpbb_config_db_text
|
|
|
|
arguments:
|
|
|
|
- @dbal.conn
|
|
|
|
- %tables.config_text%
|
|
|
|
|
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%
|
2013-04-24 17:10:17 -05:00
|
|
|
- %core.php_ext%
|
2012-10-19 19:54:19 -04:00
|
|
|
|
|
|
|
controller.resolver:
|
|
|
|
class: phpbb_controller_resolver
|
|
|
|
arguments:
|
|
|
|
- @user
|
|
|
|
- @service_container
|
2013-07-04 11:08:36 -05:00
|
|
|
- @style
|
2012-10-19 19:54:19 -04: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-08-25 16:39:38 +02:00
|
|
|
arguments:
|
2012-10-22 11:17:49 -04:00
|
|
|
- @service_container
|
2012-11-11 18:39:24 +01:00
|
|
|
tags:
|
|
|
|
- { name: service_collection, tag: cron.task }
|
2012-03-31 20:45:33 +02: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%]]
|
|
|
|
|
2013-01-08 22:07:26 -06:00
|
|
|
dbal.tools:
|
|
|
|
file: %core.root_path%includes/db/db_tools.%core.php_ext%
|
|
|
|
class: phpbb_db_tools
|
|
|
|
arguments:
|
|
|
|
- @dbal.conn
|
|
|
|
|
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:
|
2013-01-10 19:32:39 -06:00
|
|
|
- @service_container
|
2012-03-31 04:06:52 +02:00
|
|
|
- @dbal.conn
|
2012-09-01 21:15:39 +01:00
|
|
|
- @config
|
2013-04-17 18:43:19 +02:00
|
|
|
- @filesystem
|
2012-03-31 04:06:52 +02:00
|
|
|
- %tables.ext%
|
|
|
|
- %core.root_path%
|
2013-04-24 17:15:28 -05:00
|
|
|
- %core.php_ext%
|
2012-03-31 04:06:52 +02:00
|
|
|
- @cache.driver
|
|
|
|
|
2012-10-19 19:54:19 -04:00
|
|
|
ext.finder:
|
|
|
|
class: phpbb_extension_finder
|
|
|
|
arguments:
|
|
|
|
- @ext.manager
|
2013-04-17 20:25:30 +02:00
|
|
|
- @filesystem
|
2012-10-19 19:54:19 -04:00
|
|
|
- %core.root_path%
|
|
|
|
- @cache.driver
|
2013-04-24 17:15:28 -05:00
|
|
|
- %core.php_ext%
|
2012-10-19 19:54:19 -04:00
|
|
|
- _ext_finder
|
|
|
|
|
2013-04-17 17:45:49 +02:00
|
|
|
filesystem:
|
|
|
|
class: phpbb_filesystem
|
|
|
|
|
2012-11-14 15:31:16 +01:00
|
|
|
groupposition.legend:
|
|
|
|
class: phpbb_groupposition_legend
|
|
|
|
arguments:
|
|
|
|
- @dbal.conn
|
|
|
|
- @user
|
|
|
|
|
|
|
|
groupposition.teampage:
|
|
|
|
class: phpbb_groupposition_teampage
|
|
|
|
arguments:
|
|
|
|
- @dbal.conn
|
|
|
|
- @user
|
|
|
|
- @cache.driver
|
|
|
|
|
2012-10-19 19:54:19 -04:00
|
|
|
http_kernel:
|
|
|
|
class: Symfony\Component\HttpKernel\HttpKernel
|
|
|
|
arguments:
|
|
|
|
- @dispatcher
|
|
|
|
- @controller.resolver
|
|
|
|
|
2013-01-02 01:36:50 -05:00
|
|
|
hook_finder:
|
|
|
|
class: phpbb_hook_finder
|
|
|
|
arguments:
|
|
|
|
- %core.root_path%
|
2013-04-24 17:17:53 -05:00
|
|
|
- %core.php_ext%
|
2013-01-02 01:36:50 -05:00
|
|
|
- @cache.driver
|
|
|
|
|
2012-11-14 16:06:12 -05:00
|
|
|
kernel_request_subscriber:
|
|
|
|
class: phpbb_event_kernel_request_subscriber
|
2012-10-19 19:54:19 -04:00
|
|
|
arguments:
|
2012-11-14 15:42:13 -05:00
|
|
|
- @ext.finder
|
|
|
|
- %core.root_path%
|
2013-04-24 17:19:48 -05:00
|
|
|
- %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-11-14 16:06:12 -05:00
|
|
|
kernel_exception_subscriber:
|
|
|
|
class: phpbb_event_kernel_exception_subscriber
|
|
|
|
arguments:
|
|
|
|
- @template
|
|
|
|
- @user
|
|
|
|
tags:
|
|
|
|
- { name: kernel.event_subscriber }
|
|
|
|
|
|
|
|
kernel_terminate_subscriber:
|
|
|
|
class: phpbb_event_kernel_terminate_subscriber
|
|
|
|
tags:
|
|
|
|
- { name: kernel.event_subscriber }
|
|
|
|
|
2012-12-09 23:47:46 +01:00
|
|
|
log:
|
|
|
|
class: phpbb_log
|
|
|
|
arguments:
|
|
|
|
- @dbal.conn
|
|
|
|
- @user
|
|
|
|
- @auth
|
|
|
|
- @dispatcher
|
|
|
|
- %core.root_path%
|
2013-01-16 16:23:41 +01:00
|
|
|
- %core.adm_relative_path%
|
2012-12-09 23:47:46 +01:00
|
|
|
- %core.php_ext%
|
|
|
|
- %tables.log%
|
|
|
|
|
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-20 18:14:48 -06:00
|
|
|
- @notification.type_collection
|
|
|
|
- @notification.method_collection
|
|
|
|
- @service_container
|
|
|
|
- @user_loader
|
2012-10-04 14:27:43 -05:00
|
|
|
- @dbal.conn
|
2013-04-28 23:40:48 -05:00
|
|
|
- @cache
|
2012-10-04 14:27:43 -05:00
|
|
|
- @user
|
|
|
|
- %core.root_path%
|
|
|
|
- %core.php_ext%
|
2012-12-15 19:18:26 -06:00
|
|
|
- %tables.notification_types%
|
2012-11-09 08:48:41 -06:00
|
|
|
- %tables.notifications%
|
|
|
|
- %tables.user_notifications%
|
2012-09-08 10:49:58 -05: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
|
2013-04-01 10:34:06 +02:00
|
|
|
- %core.root_path%
|
2012-03-31 04:06:52 +02:00
|
|
|
|
|
|
|
style.path_provider:
|
|
|
|
class: phpbb_style_path_provider
|
|
|
|
|
|
|
|
template:
|
2013-06-10 12:59:47 -05:00
|
|
|
class: phpbb_template_twig
|
2012-03-31 04:06:52 +02:00
|
|
|
arguments:
|
|
|
|
- %core.root_path%
|
|
|
|
- %core.php_ext%
|
|
|
|
- @config
|
|
|
|
- @user
|
2012-11-02 18:51:35 -04:00
|
|
|
- @template_context
|
2011-11-27 00:46:36 -05:00
|
|
|
- @ext.manager
|
2013-07-01 13:39:51 -05:00
|
|
|
- %core.adm_relative_path%
|
2012-11-02 18:51:35 -04:00
|
|
|
|
|
|
|
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
|
2012-11-20 18:14:48 -06:00
|
|
|
|
|
|
|
user_loader:
|
|
|
|
class: phpbb_user_loader
|
|
|
|
arguments:
|
|
|
|
- @dbal.conn
|
|
|
|
- %core.root_path%
|
|
|
|
- %core.php_ext%
|
|
|
|
- %tables.users%
|