You are here

public function VarnishCache::isEmpty in Varnish 7

Checks if a cache bin is empty.

A cache bin is considered empty if it does not contain any valid data for any cache ID.

Return value

TRUE if the cache bin specified is empty.

Overrides DrupalCacheInterface::isEmpty

File

./varnish.cache.inc, line 90
Cache include file, to be used in settings.php file.

Class

VarnishCache
Varnish cache implementation.

Code

public function isEmpty() {
  return FALSE;
}