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

Breadcrumb

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

function ExceptionEvent::__construct

Overrides KernelEvent::__construct

File

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

Class

ExceptionEvent
Allows to create a response for a thrown exception.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function __construct(HttpKernelInterface $kernel, Request $request, int $requestType, \Throwable $e, bool $isKernelTerminating = false) {
    parent::__construct($kernel, $request, $requestType);
    $this->setThrowable($e);
}

API Navigation

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