SchemaTest::$connection

Same name in this branch
  1. 9 core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php \Drupal\KernelTests\Core\Database\SchemaTest::connection
Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php \Drupal\KernelTests\Core\Database\SchemaTest::connection

The PostgreSql DB connection.

Type: \PHPUnit\Framework\MockObject\MockObject|\Drupal\pgsql\Driver\Database\pgsql\Connection

File

core/modules/pgsql/tests/src/Unit/SchemaTest.php, line 21

Class

SchemaTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21pgsql%21src%21Driver%21Database%21pgsql%21Schema.php/class/Schema/9" title="PostgreSQL implementation of \Drupal\Core\Database\Schema." class="local">\Drupal\pgsql\Driver\Database\pgsql\Schema</a> @group Database

Namespace

Drupal\Tests\pgsql\Unit

Code

protected $connection;

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