public function SchemaCache::__construct

Constructs a SchemaCache object.

Overrides DrupalCacheArray::__construct

File

drupal/includes/bootstrap.inc, line 3283
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');
}