You are here

public function FastCache::get in Drupal driver for SQL Server and SQL Azure 8

cache_get wrapper.

File

drivers/lib/Drupal/Driver/Database/sqlsrv/FastCache.php, line 143
fastcache class.

Class

FastCache
Static caching layer.

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function get($cid, $bin = NULL) {
  $this
    ->FixKeyAndBin($cid, $bin);
  $this
    ->cache_load_ensure($bin);
  return $this->fastcacheitems[$bin]
    ->data_get($cid);
}