You are here

public function ControllerResolver::__construct in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-kernel/Controller/ControllerResolver.php \Symfony\Component\HttpKernel\Controller\ControllerResolver::__construct()
  2. 8 core/lib/Drupal/Core/Controller/ControllerResolver.php \Drupal\Core\Controller\ControllerResolver::__construct()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Controller/ControllerResolver.php \Symfony\Component\HttpKernel\Controller\ControllerResolver::__construct()

Constructor.

Parameters

LoggerInterface $logger A LoggerInterface instance:

1 method overrides ControllerResolver::__construct()
ControllerResolver::__construct in core/lib/Drupal/Core/Controller/ControllerResolver.php
Constructs a new ControllerResolver.

File

vendor/symfony/http-kernel/Controller/ControllerResolver.php, line 35

Class

ControllerResolver
ControllerResolver.

Namespace

Symfony\Component\HttpKernel\Controller

Code

public function __construct(LoggerInterface $logger = null) {
  $this->logger = $logger;
}