Classes/Cache/StaticFileBackend.php
public function flushByTags(array $tags)
    {
        $this->throwExceptionIfFrontendDoesNotExist();

        if (empty($tags)) {
            return;
        }

        $this->logger->debug('SFC flushByTags', [$tags]);

        $identifiers = [];
        foreach ($tags as $tag) {
            $identifiers = \array_merge($identifiers, $this->findIdentifiersByTagIncludingExpired($tag));
        }

        if ($this->isBoostMode()) {
            $this->getQueue()->addIdentifiers($identifiers);

            return;
        }

        foreach ($identifiers as $identifier) {
            $this->removeStaticFiles($identifier);
        }

        parent::flushByTags($tags);
    }
public function flushByTags(array $tags)
    {
        $this->throwExceptionIfFrontendDoesNotExist();

        if (empty($tags)) {
            return;
        }

        $this->logger->debug('SFC flushByTags', [$tags]);

        $identifiers = [];
        foreach ($tags as $tag) {
            $identifiers = \array_merge($identifiers, $this->findIdentifiersByTagIncludingExpired($tag));
        }

        if ($this->isBoostMode()) {
            $this->getQueue()->addIdentifiers($identifiers);

            return;
        }

        foreach ($identifiers as $identifier) {
            $this->removeStaticFiles($identifier);
        }

        parent::flushByTags($tags);
    }
public function flushByTags ( array $ tags ) { $ this -> throwExceptionIfFrontendDoesNotExist ( ) ; if ( empty ( $ tags ) ) { return ; } $ this -> logger -> debug ( 'SFC flushByTags' , [ $ tags ] ) ; $ identifiers = [ ] ; foreach ( $ tags as $ tag ) { $ identifiers = \ array_merge ( $ identifiers , $ this -> findIdentifiersByTagIncludingExpired ( $ tag ) ) ; } if ( $ this -> isBoostMode ( ) ) { $ this -> getQueue ( ) -> addIdentifiers ( $ identifiers ) ; return ; } foreach ( $ identifiers as $ identifier ) { $ this -> removeStaticFiles ( $ identifier ) ; } parent :: flushByTags ( $ tags ) ; }
Removes all entries tagged by any of the specified tags.

@param string[] $tags

@throws \TYPO3\CMS\Core\Cache\Exception
Removes all entries tagged by any of the specified tags .