Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 2 | Features | 0 |
1 | <?php |
||
10 | public function getConfigTreeBuilder() |
||
11 | { |
||
12 | $treeBuilder = new TreeBuilder(); |
||
13 | $rootNode = $treeBuilder->root('simple_bus_elk'); |
||
14 | |||
15 | $rootNode |
||
16 | ->children() |
||
17 | ->booleanNode('middleware') |
||
18 | ->defaultValue(true) |
||
19 | ->end() |
||
20 | ->scalarNode('logstash_namespace') |
||
21 | ->defaultValue('elk') |
||
22 | ->end() |
||
23 | ->scalarNode('monolog_channel') |
||
24 | ->defaultValue('simple_bus_elk') |
||
25 | ->end() |
||
26 | ->end() |
||
27 | ; |
||
28 | |||
29 | return $treeBuilder; |
||
30 | } |
||
31 | } |
||
32 |