public function LonelyMonkeyController::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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 - Contains \Drupal\error_service_test\Controller\LonelyMonkeyController.
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;
}