‪TYPO3CMS  9.5
TYPO3\CMS\Core\Cache\Backend\TaggableBackendInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\Cache\Backend\TaggableBackendInterface:
TYPO3\CMS\Core\Cache\Backend\BackendInterface TYPO3\CMS\Core\Cache\Backend\ApcBackend TYPO3\CMS\Core\Cache\Backend\ApcuBackend TYPO3\CMS\Core\Cache\Backend\FileBackend TYPO3\CMS\Core\Cache\Backend\MemcachedBackend TYPO3\CMS\Core\Cache\Backend\NullBackend TYPO3\CMS\Core\Cache\Backend\PdoBackend TYPO3\CMS\Core\Cache\Backend\RedisBackend TYPO3\CMS\Core\Cache\Backend\TransientMemoryBackend TYPO3\CMS\Core\Cache\Backend\Typo3DatabaseBackend TYPO3\CMS\Core\Cache\Backend\WincacheBackend

Public Member Functions

 flushByTag ($tag)
 
 flushByTags (array $tags)
 
array findIdentifiersByTag ($tag)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Cache\Backend\BackendInterface
 setCache (Cache\Frontend\FrontendInterface $cache)
 
 set ($entryIdentifier, $data, array $tags=[], $lifetime=null)
 
mixed get ($entryIdentifier)
 
bool has ($entryIdentifier)
 
bool remove ($entryIdentifier)
 
 flush ()
 
 collectGarbage ()
 

Detailed Description

A contract for a cache backend which supports tagging.

Definition at line 20 of file TaggableBackendInterface.php.

Member Function Documentation

◆ findIdentifiersByTag()

array TYPO3\CMS\Core\Cache\Backend\TaggableBackendInterface::findIdentifiersByTag (   $tag)

◆ flushByTag()

◆ flushByTags()

TYPO3\CMS\Core\Cache\Backend\TaggableBackendInterface::flushByTags ( array  $tags)

Removes all cache entries of this cache which are tagged by any of the specified tags.

Parameters
string[]$tags‪List of tags

Implemented in TYPO3\CMS\Core\Cache\Backend\Typo3DatabaseBackend.