Conditions | 1 |
Paths | 1 |
Total Lines | 27 |
Code Lines | 24 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
35 | public function getConfigTreeBuilder() |
||
36 | { |
||
37 | return (new TreeBuilder()) |
||
38 | ->root('gpslab_domain_event') |
||
39 | ->children() |
||
40 | ->scalarNode('locator') |
||
41 | ->cannotBeEmpty() |
||
42 | ->defaultValue('named_event') |
||
43 | ->end() |
||
44 | ->scalarNode('name_resolver') |
||
45 | ->cannotBeEmpty() |
||
46 | ->defaultValue('event_class') |
||
47 | ->end() |
||
48 | ->arrayNode('doctrine') |
||
49 | ->children() |
||
50 | ->arrayNode('handle_events') |
||
51 | ->prototype('scalar') |
||
52 | ->end() |
||
53 | ->arrayNode('connections') |
||
54 | ->prototype('scalar') |
||
55 | ->end() |
||
56 | ->end() |
||
57 | ->end() |
||
58 | ->end() |
||
59 | ->end() |
||
60 | ; |
||
61 | } |
||
62 | } |
||
63 |