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:
@@ -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
|
||||
|
Reference in New Issue
Block a user