public function NullBackend::get

Implements Drupal\Core\Cache\CacheBackendInterface::get().

Overrides CacheBackendInterface::get

File

drupal/core/lib/Drupal/Core/Cache/NullBackend.php, line 34
Definition of Drupal\Core\Cache\NullBackend.

Class

NullBackend
Defines a stub cache implementation.

Namespace

Drupal\Core\Cache

Code

public function get($cid, $allow_invalid = FALSE) {
  return FALSE;
}