[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 90 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
GetResponseForExceptionEvent:: (5 methods):
__construct()
getException()
setException()
allowCustomResponseCode()
isAllowingCustomResponseCode()
Class: GetResponseForExceptionEvent - X-Ref
Allows to create a response for a thrown exception.__construct(HttpKernelInterface $kernel, Request $request, $requestType, \Exception $e) X-Ref |
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 |
allowCustomResponseCode() X-Ref |
Mark the event as allowing a custom response code. |
isAllowingCustomResponseCode() X-Ref |
Returns true if the event allows a custom response code. return: bool |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |