You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of these adapters could be configured via shortcuts. Using these shortcuts will create pools with service IDs that follow the pattern cache.[type].
This is however not true, the services are not created and after checking the original PR I can confirm that this never worked as described. As a matter of fact, I not convinced this was ever meant to work as described. I believe this is a bug in the docs, but since I'm not 100% sure, I was hoping to get some feedback first.
The doc is wrong indeed, we don't create such services. There are only two concrete services by default: cache.app and cache.service (well, add cache.validator and a a few others for mostly internal need).
The backend-specific adapters are abstract are named cache.adapter.foo.
…eMC)
This PR was merged into the 5.4 branch.
Discussion
----------
[Cache] Remove invalid info about cache pool services
As discussed in symfony/symfony#52461 the `cache.[type]` services are never created nor meant to be created.
This PR removes any reference to them.
Commits
-------
9af5aee [Cache] Remove invalid info about cache pool services
Symfony version(s) affected
>=5.4
Description
According to the docs:
This is however not true, the services are not created and after checking the original PR I can confirm that this never worked as described. As a matter of fact, I not convinced this was ever meant to work as described. I believe this is a bug in the docs, but since I'm not 100% sure, I was hoping to get some feedback first.
How to reproduce
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: