You are here

protected property DatabaseTestController::$connection in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php \Drupal\database_test\Controller\DatabaseTestController::connection
  2. 9 core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php \Drupal\database_test\Controller\DatabaseTestController::connection

The database connection.

Type: \Drupal\Core\Database\Connection

File

core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php, line 22

Class

DatabaseTestController
Controller routines for database_test routes.

Namespace

Drupal\database_test\Controller

Code

protected $connection;