function SchemaCache::__construct

Constructs a SchemaCache object.

Overrides DrupalCacheArray::__construct

File

includes/bootstrap.inc, line 3377

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');
}

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