[FrameworkBundle] Deprecate the service serializer.mapping.cache.doctrine.apc

This commit is contained in:
Ener-Getick 2016-06-29 21:45:06 +02:00
parent ba9cc945cd
commit 2a0c19c014
No known key found for this signature in database
GPG Key ID: 9E5D2DB67BF054DD
3 changed files with 11 additions and 4 deletions

View File

@ -29,6 +29,12 @@ Form
}
```
FrameworkBundle
---------------
* The service `serializer.mapping.cache.doctrine.apc` is deprecated. APCu should now
be automatically used when available.
Validator
---------

View File

@ -114,9 +114,9 @@ FrameworkBundle
- `"form.type.submit"`
- `"form.type.reset"`
* The `framework.serializer.cache` option and the service
`serializer.mapping.cache.apc` have been removed. APCu should now
be automatically used when available.
* The `framework.serializer.cache` option and the services
`serializer.mapping.cache.apc` and `serializer.mapping.cache.doctrine.apc`
have been removed. APCu should now be automatically used when available.
HttpKernel
----------

View File

@ -42,10 +42,11 @@
<call method="setNamespace">
<argument>%serializer.mapping.cache.prefix%</argument>
</call>
<deprecated>The "%service_id%" service is deprecated since Symfony 3.2 and will be removed in 4.0. APCu should now be automatically used when available.</deprecated>
</service>
<service id="serializer.mapping.cache.apc" parent="serializer.mapping.cache.doctrine.apc">
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0. Use "serializer.mapping.cache.doctrine.apc" instead</deprecated>
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0. APCu should now be automatically used when available.</deprecated>
</service>
<!-- Encoders -->