Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Tests | 17 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
32 | 3 | private function addRootSection(ArrayNodeDefinition $node) |
|
33 | { |
||
34 | $node |
||
35 | 3 | ->addDefaultsIfNotSet() |
|
36 | 3 | ->children() |
|
37 | 3 | ->scalarNode('service_name') |
|
38 | 3 | ->defaultValue('event_queue') |
|
39 | 3 | ->cannotBeEmpty() |
|
40 | 3 | ->end() |
|
41 | 3 | ->scalarNode('default_name') |
|
42 | 3 | ->defaultValue('event:default') |
|
43 | 3 | ->cannotBeEmpty() |
|
44 | 3 | ->end() |
|
45 | 3 | ->scalarNode('storage_path') |
|
46 | 3 | ->defaultValue('%kernel.cache_dir%/event-queue-daemon.%s.pid') |
|
47 | 3 | ->cannotBeEmpty() |
|
48 | 3 | ->end() |
|
49 | 3 | ->end(); |
|
50 | 3 | } |
|
51 | |||
74 |