PHP Interface Neos\Cache\Backend\TaggableBackendInterface

Inheritance: extends Neos\Cache\Backend\BackendInterface
Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode 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 méthode

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

flushByTag() public méthode

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