You are here

public function TraceableControllerResolver::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Controller/TraceableControllerResolver.php \Symfony\Component\HttpKernel\Controller\TraceableControllerResolver::__construct()

Constructor.

Parameters

ControllerResolverInterface $resolver A ControllerResolverInterface instance:

Stopwatch $stopwatch A Stopwatch instance:

File

vendor/symfony/http-kernel/Controller/TraceableControllerResolver.php, line 33

Class

TraceableControllerResolver
TraceableControllerResolver.

Namespace

Symfony\Component\HttpKernel\Controller

Code

public function __construct(ControllerResolverInterface $resolver, Stopwatch $stopwatch) {
  $this->resolver = $resolver;
  $this->stopwatch = $stopwatch;
}