public function FastCacheItem::__construct in Drupal driver for SQL Server and SQL Azure 8
Construct with a DrupalCacheInterface object that comes from a real cache storage.
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ FastCacheItem.php, line 22 - fastcacheitem Class.
Class
Namespace
Drupal\Driver\Database\sqlsrvCode
public function __construct($binary, $cache = NULL) {
if (isset($cache)) {
$this->data = $cache->data;
}
else {
$this->data = array();
}
$this->bin = $binary;
}