Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

function DrupalDatabaseCache::__construct

Constructs a DrupalDatabaseCache object.

Parameters

$bin: The cache bin for which the object is created.

File

includes/cache.inc, line 331

Class

DrupalDatabaseCache
Defines a default cache implementation.

Code

function __construct($bin) {
 $this->bin  = $bin;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.