| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 16 | 
| Code Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 11 | 
| CRAP Score | 1 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 16 | 4 | public function getConfigTreeBuilder()  | 
            |
| 17 |     { | 
            ||
| 18 | 4 | $treeBuilder = new TreeBuilder;  | 
            |
| 19 | 4 |         $root = $treeBuilder->root('innmind_event_bus'); | 
            |
| 20 | |||
| 21 | $root  | 
            ||
| 22 | 4 | ->children()  | 
            |
| 23 | 4 |                 ->arrayNode('stack') | 
            |
| 24 | 4 | ->requiresAtLeastOneElement()  | 
            |
| 25 | 4 | ->defaultValue(['queue', 'default'])  | 
            |
| 26 | 4 |                     ->prototype('scalar')->end() | 
            |
| 27 | 4 | ->end()  | 
            |
| 28 | 4 | ->end();  | 
            |
| 29 | |||
| 30 | 4 | return $treeBuilder;  | 
            |
| 31 | }  | 
            ||
| 32 | }  | 
            ||
| 33 |