DriverSpecificKernelTestBase::$connection

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Database/DriverSpecificKernelTestBase.php \Drupal\KernelTests\Core\Database\DriverSpecificKernelTestBase::connection
  2. 11.x core/tests/Drupal/KernelTests/Core/Database/DriverSpecificKernelTestBase.php \Drupal\KernelTests\Core\Database\DriverSpecificKernelTestBase::connection

The database connection for testing.

Type: connection

File

core/tests/Drupal/KernelTests/Core/Database/DriverSpecificKernelTestBase.php, line 24

Class

DriverSpecificKernelTestBase
Base class for driver specific kernel tests.

Namespace

Drupal\KernelTests\Core\Database

Code

protected Connection $connection;

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