function DrupalDatabaseCache::__construct

DrupalDatabaseCache::__construct($bin)

Constructs a DrupalDatabaseCache object.

Parameters

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

File

includes/cache.inc, line 321
Functions and interfaces for cache handling.

Class

DrupalDatabaseCache
Defines a default cache implementation.

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!cache.inc/function/DrupalDatabaseCache::__construct/7.x