function SchemaCache::__construct
Constructs a SchemaCache object.
Parameters
$cid: The cid for the array being cached.
$bin: The bin to cache the array.
Overrides DrupalCacheArray::__construct
File
-
includes/
bootstrap.inc, line 3374
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.