Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | final class Configuration implements ConfigurationInterface |
||
19 | { |
||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | */ |
||
23 | public function getConfigTreeBuilder() |
||
24 | { |
||
25 | $treeBuilder = new TreeBuilder(); |
||
26 | |||
27 | /** @var ArrayNodeDefinition $node */ |
||
28 | $node = $treeBuilder->root('core23_twig'); |
||
29 | |||
30 | $this->addPaginationSection($node); |
||
31 | |||
32 | return $treeBuilder; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param ArrayNodeDefinition $node |
||
37 | */ |
||
38 | private function addPaginationSection(ArrayNodeDefinition $node): void |
||
51 | } |
||
52 | } |
||
53 |