protected function PredisCache::doFlush in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/cache/lib/Doctrine/Common/Cache/PredisCache.php \Doctrine\Common\Cache\PredisCache::doFlush()
Flushes all cache entries.
Return value
boolean TRUE if the cache entries were successfully flushed, FALSE otherwise.
Overrides CacheProvider::doFlush
File
- vendor/
doctrine/ cache/ lib/ Doctrine/ Common/ Cache/ PredisCache.php, line 85
Class
- PredisCache
- Predis cache provider.
Namespace
Doctrine\Common\CacheCode
protected function doFlush() {
$response = $this->client
->flushdb();
return $response === true || $response == 'OK';
}