TaggableCacheItemPool
Interface for invalidating cached items using tags. This interface is a soon-to-be-PSR.
- Full name:
\Qubus\Cache\Psr6\TaggableCacheItemPool
- Parent interfaces:
CacheItemPoolInterface
Methods
invalidateTag
Invalidates cached items using a tag.
Parameters:
Parameter | Type | Description |
---|---|---|
$tag | string | The tag to invalidate |
Return Value:
True on success
Throws:
When $tags is not valid.
invalidateTags
Invalidates cached items using tags.
Parameters:
Parameter | Type | Description |
---|---|---|
$tags | string[] | An array of tags to invalidate |
Return Value:
True on success
Throws:
When $tags is not valid.
Automatically generated on 2025-10-13