function BrokenSystemTestController::__construct

Same name in other branches
  1. 10 core/modules/system/tests/modules/system_test/src/Controller/BrokenSystemTestController.php \Drupal\system_test\Controller\BrokenSystemTestController::__construct()

Constructs the BrokenSystemTestController.

Parameters

\Drupal\Core\Lock\LockBackendInterface $lock: The lock service.

File

core/modules/system/tests/modules/system_test/src/Controller/BrokenSystemTestController.php, line 21

Class

BrokenSystemTestController
A controller that does not specify its autowired dependencies correctly.

Namespace

Drupal\system_test\Controller

Code

public function __construct(LockBackendInterface $lock) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.