Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | final class Configuration implements ConfigurationInterface |
||
19 | { |
||
20 | public function getConfigTreeBuilder() |
||
21 | { |
||
22 | $treeBuilder = new TreeBuilder('core23_twig'); |
||
23 | |||
24 | $rootNode = $treeBuilder->getRootNode(); |
||
25 | |||
26 | \assert($rootNode instanceof ArrayNodeDefinition); |
||
27 | |||
28 | $this->addPaginationSection($rootNode); |
||
29 | |||
30 | return $treeBuilder; |
||
31 | } |
||
32 | |||
33 | private function addPaginationSection(ArrayNodeDefinition $node): void |
||
46 | ; |
||
47 | } |
||
49 |