Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function getConfigTreeBuilder() |
||
26 | { |
||
27 | $treeBuilder = new TreeBuilder(); |
||
28 | $root = $treeBuilder->root('translation_adapter_transifex'); |
||
29 | |||
30 | $root->children() |
||
31 | ->scalarNode('username')->isRequired()->cannotBeEmpty()->end() |
||
32 | ->scalarNode('password')->isRequired()->cannotBeEmpty()->end() |
||
33 | ->append($this->getProjectNode()) |
||
34 | ->end(); |
||
35 | |||
36 | return $treeBuilder; |
||
37 | } |
||
38 | |||
60 |