public function CacheBackendInterface::isEmpty

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.

4 methods override CacheBackendInterface::isEmpty()

File

drupal/core/lib/Drupal/Core/Cache/CacheBackendInterface.php, line 303
Definition of Drupal\Core\Cache\CacheBackendInterface.

Class

CacheBackendInterface
Defines an interface for cache implementations.

Namespace

Drupal\Core\Cache

Code

public function isEmpty();