You are here

public function CacheStub::Get in Drupal driver for SQL Server and SQL Azure 8.2

Get a cache item.

Parameters

mixed $cid:

Overrides CacheInterface::Get

File

drivers/lib/Drupal/Driver/Database/sqlsrv/Component/CacheStub.php, line 40

Class

CacheStub
Stub implementation for the cache backend.

Namespace

Drupal\Driver\Database\sqlsrv\Component

Code

public function Get($cid) {
  if (isset($this->data[$cid])) {
    return $this->data[$cid];
  }
  return false;
}