Conditions | 1 |
Paths | 1 |
Total Lines | 24 |
Code Lines | 21 |
Lines | 0 |
Ratio | 0 % |
Tests | 21 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | 5 | public function getConfigTreeBuilder() |
|
30 | { |
||
31 | 5 | return (new TreeBuilder()) |
|
32 | 5 | ->root('gpslab_domain_event') |
|
33 | 5 | ->children() |
|
34 | 5 | ->scalarNode('bus') |
|
35 | 5 | ->cannotBeEmpty() |
|
36 | 5 | ->defaultValue('listener_located') |
|
37 | 5 | ->end() |
|
38 | 5 | ->scalarNode('queue') |
|
39 | 5 | ->cannotBeEmpty() |
|
40 | 5 | ->defaultValue('pull_memory') |
|
41 | 5 | ->end() |
|
42 | 5 | ->scalarNode('locator') |
|
43 | 5 | ->cannotBeEmpty() |
|
44 | 5 | ->defaultValue('symfony') |
|
45 | 5 | ->end() |
|
46 | 5 | ->booleanNode('publish_on_flush') |
|
47 | 5 | ->defaultValue(false) |
|
48 | 5 | ->end() |
|
49 | 5 | ->end() |
|
50 | 5 | ->end() |
|
51 | ; |
||
52 | } |
||
53 | } |
||
54 |