public function LonelyMonkeyClass::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php \Drupal\error_service_test\LonelyMonkeyClass::__construct()
- 9 core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php \Drupal\error_service_test\LonelyMonkeyClass::__construct()
File
- core/
modules/ system/ tests/ modules/ error_service_test/ src/ LonelyMonkeyClass.php, line 12
Class
- LonelyMonkeyClass
- A class with a single dependency.
Namespace
Drupal\error_service_testCode
public function __construct(Connection $connection) {
$this->connection = $connection;
}