TagAwareAdapterInterface

interface TagAwareAdapterInterface implements AdapterInterface

Interface for invalidating cached items using tags.

Methods

bool invalidateTags(array $tags)

Invalidates cached items using tags.

Details

bool invalidateTags(array $tags)

Invalidates cached items using tags.

Parameters

array $tags An array of tags to invalidate

Return Value

bool True on success

Exceptions

InvalidArgumentException When $tags is not valid

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Cache/Adapter/TagAwareAdapterInterface.html