feature #19236 [FrameworkBundle] Deprecate the service serializer.mapping.cache.doctrine.apc (Ener-Getick)
This PR was merged into the 3.2-dev branch.
Discussion
----------
[FrameworkBundle] Deprecate the service serializer.mapping.cache.doctrine.apc
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
This PR deprecates the service `serializer.mapping.cache.doctrine.apc` introduced in 3.1 as the cache component is now the recommended way.
This PR contains https://github.com/symfony/symfony/pull/19235.
Commits
-------
2a0c19c
[FrameworkBundle] Deprecate the service serializer.mapping.cache.doctrine.apc
This commit is contained in:
commit
2e811cb930
@ -29,6 +29,12 @@ Form
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
FrameworkBundle
|
||||||
|
---------------
|
||||||
|
|
||||||
|
* The service `serializer.mapping.cache.doctrine.apc` is deprecated. APCu should now
|
||||||
|
be automatically used when available.
|
||||||
|
|
||||||
Validator
|
Validator
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
@ -114,9 +114,9 @@ FrameworkBundle
|
|||||||
- `"form.type.submit"`
|
- `"form.type.submit"`
|
||||||
- `"form.type.reset"`
|
- `"form.type.reset"`
|
||||||
|
|
||||||
* The `framework.serializer.cache` option and the service
|
* The `framework.serializer.cache` option and the services
|
||||||
`serializer.mapping.cache.apc` have been removed. APCu should now
|
`serializer.mapping.cache.apc` and `serializer.mapping.cache.doctrine.apc`
|
||||||
be automatically used when available.
|
have been removed. APCu should now be automatically used when available.
|
||||||
|
|
||||||
HttpKernel
|
HttpKernel
|
||||||
----------
|
----------
|
||||||
|
@ -42,10 +42,11 @@
|
|||||||
<call method="setNamespace">
|
<call method="setNamespace">
|
||||||
<argument>%serializer.mapping.cache.prefix%</argument>
|
<argument>%serializer.mapping.cache.prefix%</argument>
|
||||||
</call>
|
</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>
|
||||||
|
|
||||||
<service id="serializer.mapping.cache.apc" parent="serializer.mapping.cache.doctrine.apc">
|
<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>
|
</service>
|
||||||
|
|
||||||
<!-- Encoders -->
|
<!-- Encoders -->
|
||||||
|
Reference in New Issue
Block a user