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
and others. I wasn't able to find a place where these services are registered and $this->get(...) is throwing non-existing service exception when attempting to get them.
Maybe cache.redis (in docs) should be replaced with cache.adapter.redis and so on.
The text was updated successfully, but these errors were encountered:
The doc is inaccurate: there is no cache.redis/cache.psr6 pools.
The default_*_provider are applicable to any user defined pool only. If there are none, the setting is useless.
Here is an example:
cache:
default_redis_provider: redis://...pools:
my_pool1: {adapter: cache.adapter.redis}my_pool2: {adapter: cache.adapter.redis, provider: "redis://..."} # same as previous, explicit provider
The main use case is configuring the default app storage:
On the https://symfony.com/doc/current/reference/configuration/framework.html page, when cache providers are listed (close to the bottom) each has associated service shown:
cache.doctrine
cache.redis
and others. I wasn't able to find a place where these services are registered and
$this->get(...)
is throwing non-existing service exception when attempting to get them.Maybe
cache.redis
(in docs) should be replaced withcache.adapter.redis
and so on.The text was updated successfully, but these errors were encountered: