| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | 2 | public function getConfigTreeBuilder() |
|
| 14 | { |
||
| 15 | 2 | $treeBuilder = new TreeBuilder(); |
|
| 16 | 2 | $rootNode = $treeBuilder->root('sumo_coders_framework_error'); |
|
| 17 | |||
| 18 | $rootNode |
||
| 19 | 2 | ->children() |
|
| 20 | 2 | ->arrayNode('show_messages_for') |
|
| 21 | 2 | ->prototype('scalar') |
|
| 22 | 2 | ->end() |
|
| 23 | 2 | ->end() |
|
| 24 | 2 | ->end(); |
|
| 25 | |||
| 26 | 2 | return $treeBuilder; |
|
| 27 | } |
||
| 28 | } |
||
| 29 |