LonelyMonkeyClass::$connection

Same name in other branches
  1. 9 core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php \Drupal\error_service_test\LonelyMonkeyClass::connection
  2. 10 core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php \Drupal\error_service_test\LonelyMonkeyClass::connection

The database connection.

Type: connection

File

core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php, line 17

Class

LonelyMonkeyClass
A class with a single dependency.

Namespace

Drupal\error_service_test

Code

protected Connection $connection;

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