Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function getConfigTreeBuilder(): TreeBuilder |
||
13 | { |
||
14 | $treeBuilder = new TreeBuilder('correlation_id'); |
||
15 | |||
16 | /* @phpstan-ignore-next-line */ |
||
17 | $treeBuilder->getRootNode() |
||
18 | ->children() |
||
19 | ->booleanNode('pass_through') |
||
20 | ->defaultValue(false) |
||
21 | ->end() |
||
22 | ->scalarNode('response_header_name') |
||
|
|||
23 | ->defaultValue('X-Correlation-ID') |
||
24 | ->end() |
||
25 | ->scalarNode('request_header_name') |
||
26 | ->defaultValue('X-Correlation-ID') |
||
27 | ->end() |
||
28 | ->end(); |
||
29 | |||
30 | return $treeBuilder; |
||
31 | } |
||
33 |