function ControllerResolver::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Controller/ControllerResolver.php \Drupal\Core\Controller\ControllerResolver::__construct()
  2. 8.9.x core/lib/Drupal/Core/Controller/ControllerResolver.php \Drupal\Core\Controller\ControllerResolver::__construct()
  3. 10 core/lib/Drupal/Core/Controller/ControllerResolver.php \Drupal\Core\Controller\ControllerResolver::__construct()

Constructs a new ControllerResolver.

Parameters

\Drupal\Core\Utility\CallableResolver $callableResolver: The callable resolver.

File

core/lib/Drupal/Core/Controller/ControllerResolver.php, line 26

Class

ControllerResolver
ControllerResolver to enhance controllers beyond Symfony's basic handling.

Namespace

Drupal\Core\Controller

Code

public function __construct(CallableResolver $callableResolver) {
}

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