| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function getConfigTreeBuilder() |
||
| 18 | { |
||
| 19 | $treeBuilder = new TreeBuilder(); |
||
| 20 | $rootNode = $treeBuilder->root('html5_cache'); |
||
| 21 | $rootNode |
||
| 22 | ->children() |
||
| 23 | ->scalarNode('cdn')->defaultValue('')->end() |
||
| 24 | ->booleanNode('http')->defaultTrue()->end() |
||
| 25 | ->booleanNode('https')->defaultTrue()->end() |
||
| 26 | ->arrayNode('custom_paths')->prototype('scalar')->end()->end() |
||
| 27 | ->end(); |
||
| 28 | |||
| 29 | return $treeBuilder; |
||
| 30 | } |
||
| 31 | } |