Cache/TagManager.php
public function flush()
    {
        if (!empty($this->invalidateTags)) {
            $this->tagHandler->invalidateTags($this->invalidateTags);
        }

        if (!empty($this->responseTags)) {
            $this->tagHandler->addTags($this->responseTags);
        }

        $this->reset();
    }
public function flush()
    {
        if (!empty($this->invalidateTags)) {
            $this->tagHandler->invalidateTags($this->invalidateTags);
        }

        if (!empty($this->responseTags)) {
            $this->tagHandler->addTags($this->responseTags);
        }

        $this->reset();
    }
Flushes the tag manager.