Quantcast
Channel: Use TagAwareAdapter per config.yml in Symfony 3.2? - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by klodoma for Use TagAwareAdapter per config.yml in Symfony 3.2?

The upper answer provides the solution and its a good one, I'll just put it all together as an answer, as I also wasted some time finding out how to use the TagAwareAdapter. This is my solution for...

View Article



Answer by LBA for Use TagAwareAdapter per config.yml in Symfony 3.2?

Stupid me. I could do it by defining a simple service in services.yml: my_tag_aware_cache: class: Symfony\Component\Cache\Adapter\TagAwareAdapter arguments: [ '@my_file_cache', '@my_redis_cache' ]Now I...

View Article

Use TagAwareAdapter per config.yml in Symfony 3.2?

I am aware that I can define a cache in Symfony 3.2 like that in my config.yml: cache: default_redis_provider: redis://%redis_password%@%redis_host%:%redis_port% pools: my_redis_cache: adapter:...

View Article
Browsing all 3 articles
Browse latest View live


Latest Images