[FrameworkBundle] fix config declaration of http_cache option
This commit is contained in:
parent
ffbb9883bd
commit
2514cf1c1d
@ -218,6 +218,7 @@ class Configuration implements ConfigurationInterface
|
|||||||
->arrayNode('http_cache')
|
->arrayNode('http_cache')
|
||||||
->info('HTTP cache configuration')
|
->info('HTTP cache configuration')
|
||||||
->canBeEnabled()
|
->canBeEnabled()
|
||||||
|
->fixXmlConfig('private_header')
|
||||||
->children()
|
->children()
|
||||||
->booleanNode('debug')->defaultValue('%kernel.debug%')->end()
|
->booleanNode('debug')->defaultValue('%kernel.debug%')->end()
|
||||||
->enumNode('trace_level')
|
->enumNode('trace_level')
|
||||||
@ -227,8 +228,6 @@ class Configuration implements ConfigurationInterface
|
|||||||
->integerNode('default_ttl')->end()
|
->integerNode('default_ttl')->end()
|
||||||
->arrayNode('private_headers')
|
->arrayNode('private_headers')
|
||||||
->performNoDeepMerging()
|
->performNoDeepMerging()
|
||||||
->requiresAtLeastOneElement()
|
|
||||||
->fixXmlConfig('private_header')
|
|
||||||
->scalarPrototype()->end()
|
->scalarPrototype()->end()
|
||||||
->end()
|
->end()
|
||||||
->booleanNode('allow_reload')->end()
|
->booleanNode('allow_reload')->end()
|
||||||
|
Reference in New Issue
Block a user