You are here

public function MockContainerInjection::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php \Drupal\Tests\Core\Controller\MockContainerInjection::__construct()
  2. 9 core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php \Drupal\Tests\Core\Controller\MockContainerInjection::__construct()

File

core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php, line 222
Contains \Drupal\Tests\Core\Controller\ControllerResolverTest.

Class

MockContainerInjection

Namespace

Drupal\Tests\Core\Controller

Code

public function __construct($result) {
  $this->result = $result;
}