PHP Интерфейс Neos\Cache\Backend\TaggableBackendInterface

Наследование: extends Neos\Cache\Backend\BackendInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
findIdentifiersByTag ( string $tag ) : array Finds and returns all cache entry identifiers which are tagged by the specified tag.
flushByTag ( string $tag ) : integer Removes all cache entries of this cache which are tagged by the specified tag.

Описание методов

findIdentifiersByTag() публичный Метод

Finds and returns all cache entry identifiers which are tagged by the specified tag.
public findIdentifiersByTag ( string $tag ) : array
$tag string The tag to search for
Результат array An array with identifiers of all matching entries. An empty array if no entries matched

flushByTag() публичный Метод

Removes all cache entries of this cache which are tagged by the specified tag.
public flushByTag ( string $tag ) : integer
$tag string The tag the entries must have
Результат integer The number of entries which have been affected by this flush or NULL if the number is unknown