Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
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('project_id')->cannotBeEmpty()->end() |
||
20 | ->scalarNode('token')->cannotBeEmpty()->end() |
||
21 | ->arrayNode('locale_to_id_mapping')->prototype('scalar')->end()->end() |
||
22 | ->end(); |
||
23 | |||
24 | return $treeBuilder; |
||
25 | } |
||
26 | } |
||
27 |