| Conditions | 1 |
| Paths | 1 |
| Total Lines | 21 |
| Code Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | private function getCacheTree(ArrayNodeDefinition $rootNode) |
||
| 31 | { |
||
| 32 | return $rootNode |
||
| 33 | ->fixXmlConfig('cache') |
||
| 34 | ->children() |
||
| 35 | ->arrayNode('caches') |
||
| 36 | ->addDefaultsIfNotSet() |
||
| 37 | ->children() |
||
| 38 | ->arrayNode('rules') |
||
| 39 | ->addDefaultsIfNotSet() |
||
| 40 | ->children() |
||
| 41 | ->scalarNode('adapter') |
||
| 42 | ->isRequired() |
||
| 43 | ->cannotBeEmpty() |
||
| 44 | ->defaultValue('app.cache') |
||
| 45 | ->end() |
||
| 46 | ->end() |
||
|
|
|||
| 47 | ->end() |
||
| 48 | ->end() |
||
| 49 | ->end() |
||
| 50 | ->end(); |
||
| 51 | } |
||
| 53 |