You are here

public function FilterControllerEvent::__construct in Zircon Profile 8

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

Overrides KernelEvent::__construct

File

vendor/symfony/http-kernel/Event/FilterControllerEvent.php, line 35

Class

FilterControllerEvent
Allows filtering of a controller callable.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function __construct(HttpKernelInterface $kernel, $controller, Request $request, $requestType) {
  parent::__construct($kernel, $request, $requestType);
  $this
    ->setController($controller);
}