Snaju Inception Docs

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

$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

setIsCancelled()

public setIsCancelled(bool $isCancelled) : mixed
Parameters
$isCancelled : bool
Return values
mixed

buildHooks()

private buildHooks() : mixed
Return values
mixed

Search results