function CacheInterface::isEmpty

8.0.x CacheInterface.php CacheInterface::isEmpty()
7.x CacheInterface.php CacheInterface::isEmpty()
master CacheInterface.php CacheInterface::isEmpty()

Check 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.

1 method overrides CacheInterface::isEmpty()
FileCache::isEmpty in lib/Drush/Cache/FileCache.php
Check if a cache bin is empty.

File

lib/Drush/Cache/CacheInterface.php, line 111
Definition of Drush\Cache\CacheInterface.

Namespace

Drush\Cache

Class

CacheInterface
Interface for cache implementations.

Code

function isEmpty();