function Connection::schema

Same name and namespace in other branches
  1. 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Connection::schema()

File

core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php, line 76

Class

Connection
CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses

Code

public function schema() {
  if (empty($this->schema)) {
    $this->schema = new Schema($this);
  }
  return $this->schema;
}

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