OnExceptionEvent
extends Event
in package
Table of Contents
- $isCancelled : mixed
- $exception : Exception
- $hooks : mixed
- __construct() : mixed
- OnExceptionEvent constructor.
- call() : mixed
- getException() : Exception
- getName() : mixed
- hook() : mixed
- isCancelled() : bool
- onEnd() : mixed
- run() : Event
- setIsCancelled() : mixed
- buildHooks() : mixed
Properties
$isCancelled
protected
mixed
$isCancelled
= false
$exception
private
Exception
$exception
$hooks
private
mixed
$hooks
= []
Methods
__construct()
OnExceptionEvent constructor.
public
__construct(Exception $exception) : mixed
Parameters
- $exception : Exception
Return values
mixed —call()
public
call() : mixed
Return values
mixed —getException()
public
getException() : Exception
Return values
Exception —getName()
public
static getName() : mixed
Return values
mixed —hook()
public
static hook(callable $func) : mixed
Parameters
- $func : callable
Return values
mixed —isCancelled()
public
isCancelled() : bool
Return values
bool —onEnd()
public
onEnd(Event $event) : mixed
Parameters
- $event : Event
Return values
mixed —run()
public
run(Event $event) : Event
Parameters
- $event : Event
Return values
Event —setIsCancelled()
public
setIsCancelled(bool $isCancelled) : mixed
Parameters
- $isCancelled : bool
Return values
mixed —buildHooks()
private
buildHooks() : mixed