Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function getConfigTreeBuilder() |
||
14 | { |
||
15 | $treeBuilder = new TreeBuilder(); |
||
16 | $root = $treeBuilder->root('translation_adapter_phrase_app'); |
||
17 | |||
18 | $root->children() |
||
19 | ->scalarNode('httplug_client')->defaultValue('httplug.client')->cannotBeEmpty()->end() |
||
20 | ->scalarNode('httplug_message_factory')->defaultValue('httplug.message_factory')->cannotBeEmpty()->end() |
||
21 | ->scalarNode('httplug_uri_factory')->defaultValue('httplug.uri_factory')->cannotBeEmpty()->end() |
||
22 | ->scalarNode('project_id')->cannotBeEmpty()->end() |
||
23 | ->scalarNode('token')->cannotBeEmpty()->end() |
||
24 | ->arrayNode('locale_to_id_mapping')->prototype('scalar')->end()->end() |
||
25 | ->end(); |
||
26 | |||
27 | return $treeBuilder; |
||
28 | } |
||
29 | } |
||
30 |