[FrameworkBundle] Drop serializer.cache option

This commit is contained in:
Robin Chalas 2017-10-31 10:23:34 +01:00
parent a32b130f10
commit 85f09a40f1

View File

@ -695,9 +695,6 @@ class Configuration implements ConfigurationInterface
->{!class_exists(FullStack::class) && class_exists(Serializer::class) ? 'canBeDisabled' : 'canBeEnabled'}() ->{!class_exists(FullStack::class) && class_exists(Serializer::class) ? 'canBeDisabled' : 'canBeEnabled'}()
->children() ->children()
->booleanNode('enable_annotations')->{!class_exists(FullStack::class) && class_exists(Annotation::class) ? 'defaultTrue' : 'defaultFalse'}()->end() ->booleanNode('enable_annotations')->{!class_exists(FullStack::class) && class_exists(Annotation::class) ? 'defaultTrue' : 'defaultFalse'}()->end()
->scalarNode('cache')
->setDeprecated('The "%path%.%node%" option is deprecated since Symfony 3.1 and will be removed in 4.0. Configure the "cache.serializer" service under "framework.cache.pools" instead.')
->end()
->scalarNode('name_converter')->end() ->scalarNode('name_converter')->end()
->scalarNode('circular_reference_handler')->end() ->scalarNode('circular_reference_handler')->end()
->arrayNode('mapping') ->arrayNode('mapping')