Skip to content

[FrameworkBundle] Is TagAwareAdapter declared as a service? #20764

Closed
@tifabien

Description

@tifabien

After upgrading in 3.2 I'm trying to use the new cache tag based invalidation in the fullstack framework.
My first thought was to inject the default cache.app service and call the new invalidateTags method but it seems the default cache.app didn't change.
So I tried to use the TagAwareAdapter but there is no service declared for the Symfony\Component\Cache\Adapter\TagAwareAdapter class.

My question is how can I use the new TagAwareAdapter. Do I need to declare my side the TagAwareAdapter service and change the default cache.app adapter in my config.yml file or maybe the service declaration misses in the FrameworkBundle cache.xml?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions