File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
src/Symfony/Bundle/FrameworkBundle Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -436,12 +436,7 @@ private function addValidationSection(ArrayNodeDefinition $rootNode)
436
436
->info ('validation configuration ' )
437
437
->canBeEnabled ()
438
438
->children ()
439
- ->scalarNode ('cache ' )
440
- ->beforeNormalization ()
441
- // Can be removed in 3.0, once ApcCache support is dropped
442
- ->ifString ()->then (function ($ v ) { return 'apc ' === $ v ? 'validator.mapping.cache.apc ' : $ v ; })
443
- ->end ()
444
- ->end ()
439
+ ->scalarNode ('cache ' )->end ()
445
440
->booleanNode ('enable_annotations ' )->defaultFalse ()->end ()
446
441
->arrayNode ('static_method ' )
447
442
->defaultValue (array ('loadValidatorMetadata ' ))
Original file line number Diff line number Diff line change 28
28
29
29
<service id =" validator.mapping.class_metadata_factory" alias =" validator" public =" false" />
30
30
31
- <service id =" validator.mapping.cache.apc" class =" Symfony\Component\Validator\Mapping\Cache\ApcCache" public =" false" >
32
- <argument >%validator.mapping.cache.prefix%</argument >
33
- </service >
34
-
35
31
<service id =" validator.validator_factory" class =" Symfony\Bundle\FrameworkBundle\Validator\ConstraintValidatorFactory" public =" false" >
36
32
<argument type =" service" id =" service_container" />
37
33
<argument type =" collection" />
You can’t perform that action at this time.
0 commit comments