| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | 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('enable_simple_bus_middleware') |
||
| 18 | ->defaultValue(true) |
||
| 19 | ->scalarNode('logstash_namespace') |
||
| 20 | ->defaultValue('elk') |
||
| 21 | ->end() |
||
| 22 | ->scalarNode('monolog_channel') |
||
| 23 | ->defaultValue('simple_bus_elk') |
||
| 24 | ->end() |
||
| 25 | ->end() |
||
| 26 | ; |
||
| 27 | |||
| 28 | return $treeBuilder; |
||
| 29 | } |
||
| 30 | } |
||
| 31 |