1.20.x bootstrap.inc public SchemaCache::__construct()

Constructs a SchemaCache object.

Overrides BackdropCacheArray::__construct

File

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

Class

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