public function SystemTestController::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php \Drupal\system_test\Controller\SystemTestController::__construct()
Constructs the SystemTestController.
Parameters
\Drupal\Core\Lock\LockBackendInterface $lock: The lock service.
\Drupal\Core\Lock\LockBackendInterface $persistent_lock: The persistent lock service.
\Drupal\Core\Session\AccountInterface $current_user: The current user.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
File
- core/
modules/ system/ tests/ modules/ system_test/ src/ Controller/ SystemTestController.php, line 68 - Contains \Drupal\system_test\Controller\SystemTestController.
Class
- SystemTestController
- Controller routines for system_test routes.
Namespace
Drupal\system_test\ControllerCode
public function __construct(LockBackendInterface $lock, LockBackendInterface $persistent_lock, AccountInterface $current_user, RendererInterface $renderer) {
$this->lock = $lock;
$this->persistentLock = $persistent_lock;
$this->currentUser = $current_user;
$this->renderer = $renderer;
}