$redisCache->flush()
Removes keys from the database and returns whether the operation was successful; scoped to the configured prefix
$redisCache->flush(): bool
Return type
bool
This method modifies the existing $rediscache object it is applied to and returns it again.