Implements Drupal\Core\Cache\CacheBackendInterface::get().
Overrides CacheBackendInterface::get
public function get($cid, $allow_invalid = FALSE) {
if (isset($this->cache[$cid])) {
return $this
->prepareItem($this->cache[$cid], $allow_invalid);
}
else {
return FALSE;
}
}