1846. Function

1846.1. Zend\Cache\Storage\setTags

ZendCacheStoragesetTags()

Set tags to an item by given key. An empty array will remove all tags.

Parameters:
  • string –
  • string[] –
Return type:

bool

1847. Function

1847.1. Zend\Cache\Storage\getTags

ZendCacheStoragegetTags()

Get tags of an item by given key

Parameters:string –
Return type:string[]|FALSE

1848. Function

1848.1. Zend\Cache\Storage\clearByTags

ZendCacheStorageclearByTags()

Remove items matching given tags.

If $disjunction only one of the given tags must match else all given tags must match.

Parameters:
  • string[] –
  • bool –
Return type:

bool

Project Versions

Table Of Contents

Previous topic

1835. Function

Next topic

1849. Function

This Page