| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 22 | public function getConfigTreeBuilder() |
||
| 23 | { |
||
| 24 | $treeBuilder = new TreeBuilder(); |
||
| 25 | $rootNode = $treeBuilder->root('rest_e_tags'); |
||
| 26 | |||
| 27 | $rootNode |
||
| 28 | ->children() |
||
| 29 | ->booleanNode('concurrency_control')->defaultFalse()->end() |
||
| 30 | ->scalarNode('child_invalidation_constraint')->defaultValue('\/[0-9]+$')->end() |
||
| 31 | ->scalarNode('cache')->isRequired()->defaultFalse()->end() |
||
| 32 | ; |
||
| 33 | |||
| 34 | return $treeBuilder; |
||
| 35 | } |
||
| 36 | } |
||
| 37 |