Neos\FluidAdaptor\Core\Cache\CacheAdaptor::flush PHP Method

flush() public method

Flushes the cache either by entry or flushes the entire cache if no entry is provided.
public flush ( string | null $name = null ) : boolean | void
$name string | null
return boolean | void
    public function flush($name = null)
    {
        if ($name !== null) {
            return $this->flowCache->remove($name);
        } else {
            return $this->flowCache->flush();
        }
    }