| Fully Qualified Name: | Laminas\Cache\Storage\TaggableInterface |
| Name | Description | Defined By |
|---|---|---|
| clearByTags() | Remove items matching given tags. | TaggableInterface |
| getTags() | Get tags of an item by given key | TaggableInterface |
| setTags() | Set tags to an item by given key. | TaggableInterface |
Remove items matching given tags.
If $disjunction only one of the given tags must match else all given tags must match.
| Parameter Name | Type | Description |
|---|---|---|
| $tags | string[] | |
| $disjunction | bool |
Returns: bool
Get tags of an item by given key
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: string[]|bool
Set tags to an item by given key.
An empty array will remove all tags.
| Parameter Name | Type | Description |
|---|---|---|
| $key | string | |
| $tags | string[] |
Returns: bool