1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/11201] Split language options into a new class

Otherwise we run into a circular dependency

PHPBB3-11201
This commit is contained in:
Joas Schilling
2014-01-15 11:40:03 +01:00
parent cd6bdc7b27
commit 5df7f76e6b
10 changed files with 180 additions and 85 deletions

View File

@@ -5,14 +5,27 @@ services:
- @auth
- @dbal.conn
- @service_container
#- @profilefields.type_collection
- @request
- @template
- @user
profilefields.lang_helper:
class: \phpbb\profilefields\lang_helper
arguments:
- @dbal.conn
profilefields.type_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
tags:
- { name: service_collection, tag: profilefield.type }
profilefields.type.bool:
class: \phpbb\profilefields\type\type_bool
arguments:
- @profilefields
- @profilefields.lang_helper
- @request
- @template
- @user
@@ -32,7 +45,7 @@ services:
profilefields.type.dropdown:
class: \phpbb\profilefields\type\type_dropdown
arguments:
- @profilefields
- @profilefields.lang_helper
- @request
- @template
- @user