function LonelyMonkeyClass::__construct
Same name in other branches
- 9 core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php \Drupal\error_service_test\LonelyMonkeyClass::__construct()
- 8.9.x core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php \Drupal\error_service_test\LonelyMonkeyClass::__construct()
- 10 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 19
Class
- LonelyMonkeyClass
- A class with a single dependency.
Namespace
Drupal\error_service_testCode
public function __construct(Connection $connection) {
$this->connection = $connection;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.