function LonelyMonkeyController::__construct
Same name in other branches
- 8.9.x core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php \Drupal\error_service_test\Controller\LonelyMonkeyController::__construct()
- 10 core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php \Drupal\error_service_test\Controller\LonelyMonkeyController::__construct()
- 11.x core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php \Drupal\error_service_test\Controller\LonelyMonkeyController::__construct()
File
-
core/
modules/ system/ tests/ modules/ error_service_test/ src/ Controller/ LonelyMonkeyController.php, line 20
Class
- LonelyMonkeyController
- Provides a controller which calls out to a service with missing dependencies.
Namespace
Drupal\error_service_test\ControllerCode
public function __construct(LonelyMonkeyClass $class) {
$this->class = $class;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.