class LonelyMonkeyClass
Same name in other branches
- 9 core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php \Drupal\error_service_test\LonelyMonkeyClass
- 8.9.x core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php \Drupal\error_service_test\LonelyMonkeyClass
- 11.x core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php \Drupal\error_service_test\LonelyMonkeyClass
A class with a single dependency.
Hierarchy
- class \Drupal\error_service_test\LonelyMonkeyClass
Expanded class hierarchy of LonelyMonkeyClass
1 file declares its use of LonelyMonkeyClass
- LonelyMonkeyController.php in core/
modules/ system/ tests/ modules/ error_service_test/ src/ Controller/ LonelyMonkeyController.php
1 string reference to 'LonelyMonkeyClass'
- error_service_test.services.yml in core/
modules/ system/ tests/ modules/ error_service_test/ error_service_test.services.yml - core/modules/system/tests/modules/error_service_test/error_service_test.services.yml
1 service uses LonelyMonkeyClass
- broken_class_with_missing_dependency in core/
modules/ system/ tests/ modules/ error_service_test/ error_service_test.services.yml - Drupal\error_service_test\LonelyMonkeyClass
File
-
core/
modules/ system/ tests/ modules/ error_service_test/ src/ LonelyMonkeyClass.php, line 10
Namespace
Drupal\error_service_testView source
class LonelyMonkeyClass {
/**
* The database connection.
*/
protected Connection $connection;
public function __construct(Connection $connection) {
$this->connection = $connection;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
LonelyMonkeyClass::$connection | protected | property | The database connection. |
LonelyMonkeyClass::__construct | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.