public ControllerResolver::__construct(HttpMessageFactoryInterface $http_message_factory, ClassResolverInterface $class_resolver)
Constructs a new ControllerResolver.
Parameters
\Symfony\Bridge\PsrHttpMessage\HttpMessageFactoryInterface $http_message_factory: The PSR-7 converter.
\Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver: The class resolver.
Overrides ControllerResolver::__construct
File
- core/lib/Drupal/Core/Controller/ControllerResolver.php, line 52
Class
- ControllerResolver
- ControllerResolver to enhance controllers beyond Symfony's basic handling.
Namespace
Drupal\Core\Controller
Code
public function __construct(HttpMessageFactoryInterface $http_message_factory, ClassResolverInterface $class_resolver) { $this->httpMessageFactory = $http_message_factory; $this->classResolver = $class_resolver; }
Please login to continue.