You are here

public function SchemaCache::__construct in Drupal 7

Constructs a SchemaCache object.

Overrides DrupalCacheArray::__construct

File

includes/bootstrap.inc, line 3306
Functions that need to be loaded on every Drupal request.

Class

SchemaCache
Extends DrupalCacheArray to allow for dynamic building of the schema cache.

Code

public function __construct() {

  // Cache by request method.
  parent::__construct('schema:runtime:' . ($_SERVER['REQUEST_METHOD'] == 'GET'), 'cache');
}