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

Breadcrumb

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

function ViewEvent::__construct

Overrides KernelEvent::__construct

File

vendor/symfony/http-kernel/Event/ViewEvent.php, line 28

Class

ViewEvent
Allows to create a response for the return value of a controller.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function __construct(HttpKernelInterface $kernel, Request $request, int $requestType, mixed $controllerResult, ?ControllerArgumentsEvent $controllerArgumentsEvent = null) {
    parent::__construct($kernel, $request, $requestType);
}

API Navigation

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