$cache->flush()
Flushes the entire cache and returns whether the operation was successful; this needs to be defined by the driver
$cache->flush(): bool
Return type
bool
This method modifies the existing $cache object it is applied to and returns it again.