PHP Interface Neos\Cache\Backend\TaggableBackendInterface

Inheritance: extends Neos\Cache\Backend\BackendInterface
Exibir arquivo Open project: neos/flow-development-collection

Public Methods

Method Description
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.

Method Details

findIdentifiersByTag() public method

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
return array An array with identifiers of all matching entries. An empty array if no entries matched

flushByTag() public method

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
return integer The number of entries which have been affected by this flush or NULL if the number is unknown