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

Breadcrumb

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

function ControllerArgumentsEvent::__construct

Overrides KernelEvent::__construct

File

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

Class

ControllerArgumentsEvent
Allows filtering of controller arguments.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function __construct(HttpKernelInterface $kernel, callable|ControllerEvent $controller, array $arguments, Request $request, ?int $requestType) {
    parent::__construct($kernel, $request, $requestType);
    if (!$controller instanceof ControllerEvent) {
        $controller = new ControllerEvent($kernel, $controller, $request, $requestType);
    }
    $this->controllerEvent = $controller;
}

API Navigation

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