Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ControllerEvent.php

function ControllerEvent::__construct

Overrides KernelEvent::__construct

File

vendor/symfony/http-kernel/Event/ControllerEvent.php, line 34

Class

ControllerEvent
Allows filtering of a controller callable.

Namespace

Symfony\Component\HttpKernel\Event

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal