You are here

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

Set a value in cache.

Parameters

mixed $key:

mixed $value:

File

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

Class

FastCacheItem

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function data_set($key, $value) {
  $container = new \stdClass();
  $container->data = $value;
  $this->data[$key] = $container;
}