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

@param string|null $name
@return bool|void
Flushes the cache either by entry or flushes the entire cache if no entry is provided .