Conditions | 1 |
Paths | 1 |
Total Lines | 25 |
Code Lines | 22 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | public function getConfigTreeBuilder() |
||
31 | { |
||
32 | return (new TreeBuilder()) |
||
33 | ->root('gpslab_domain_event') |
||
34 | ->children() |
||
35 | ->scalarNode('bus') |
||
36 | ->cannotBeEmpty() |
||
37 | ->defaultValue('listener_locator') |
||
38 | ->end() |
||
39 | ->scalarNode('queue') |
||
40 | ->cannotBeEmpty() |
||
41 | ->defaultValue('memory_unique') |
||
42 | ->end() |
||
43 | ->scalarNode('locator') |
||
44 | ->cannotBeEmpty() |
||
45 | ->defaultValue('named_event') |
||
46 | ->end() |
||
47 | ->scalarNode('name_resolver') |
||
48 | ->cannotBeEmpty() |
||
49 | ->defaultValue('event_class') |
||
50 | ->end() |
||
51 | ->end() |
||
52 | ->end() |
||
53 | ; |
||
54 | } |
||
55 | } |
||
56 |