[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/http-kernel/Event/ -> GetResponseForExceptionEvent.php (summary)

(no description)

File Size: 67 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

GetResponseForExceptionEvent:: (3 methods):
  __construct()
  getException()
  setException()


Class: GetResponseForExceptionEvent  - X-Ref

Allows to create a response for a thrown exception.

Call setResponse() to set the response that will be returned for the
current request. The propagation of this event is stopped as soon as a
response is set.

You can also call setException() to replace the thrown exception. This
exception will be thrown if no response is set during processing of this
event.

__construct(HttpKernelInterface $kernel, Request $request, $requestType, \Exception $e)   X-Ref
The exception object.


getException()   X-Ref
Returns the thrown exception.

return: \Exception The thrown exception

setException(\Exception $exception)   X-Ref
Replaces the thrown exception.

This exception will be thrown if no response is set in the event.

param: \Exception $exception The thrown exception



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1