Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 13 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
57 | 3 | private function addClassSection(ArrayNodeDefinition $node) |
|
58 | { |
||
59 | $node |
||
60 | 3 | ->children() |
|
61 | 3 | ->arrayNode('class') |
|
62 | 3 | ->addDefaultsIfNotSet() |
|
63 | 3 | ->children() |
|
64 | 3 | ->scalarNode('dispatcher') |
|
65 | 3 | ->defaultValue(Service\Dispatcher::class) |
|
66 | 3 | ->cannotBeEmpty() |
|
67 | 3 | ->end() |
|
68 | 3 | ->end() |
|
69 | 3 | ->end() |
|
70 | 3 | ->end(); |
|
71 | 3 | } |
|
72 | |||
74 |