[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')
|
||||
->info('HTTP cache configuration')
|
||||
->canBeEnabled()
|
||||
->fixXmlConfig('private_header')
|
||||
->children()
|
||||
->booleanNode('debug')->defaultValue('%kernel.debug%')->end()
|
||||
->enumNode('trace_level')
|
||||
@ -227,8 +228,6 @@ class Configuration implements ConfigurationInterface
|
||||
->integerNode('default_ttl')->end()
|
||||
->arrayNode('private_headers')
|
||||
->performNoDeepMerging()
|
||||
->requiresAtLeastOneElement()
|
||||
->fixXmlConfig('private_header')
|
||||
->scalarPrototype()->end()
|
||||
->end()
|
||||
->booleanNode('allow_reload')->end()
|
||||
|
Reference in New Issue
Block a user