You are here

public function FastCacheItem::data_get in Drupal driver for SQL Server and SQL Azure 8

Retrieve a value from cache.

Parameters

mixed $key:

Return value

bool|\stdClass

File

drivers/lib/Drupal/Driver/Database/sqlsrv/FastCacheItem.php, line 66
fastcacheitem Class.

Class

FastCacheItem

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function data_get($key) {
  if (isset($this->data[$key])) {
    return $this->data[$key];
  }
  return FALSE;
}