Menu

## OnExceptionEvent extends Event
in package

OnExceptionEvent.php : 8

### 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

Event.php : 10
`protected mixed $isCancelled = false`

#### $exception

OnExceptionEvent.php : 11
`private Exception $exception`

#### $hooks

Event.php : 8
`private mixed $hooks = []`

### Methods

#### __construct()

OnExceptionEvent.php : 17

OnExceptionEvent constructor.

`public __construct(Exception $exception) : mixed`

##### Parameters

$exception : Exception

##### Return values

mixed —

#### call()

Event.php : 45
`public call() : mixed`

##### Return values

mixed —

#### getException()

OnExceptionEvent.php : 25
`public getException() : Exception`

##### Return values

Exception —

#### getName()

Event.php : 19
`public static getName() : mixed`

##### Return values

mixed —

#### hook()

Event.php : 24
`public static hook(callable $func) : mixed`

##### Parameters

$func : callable

##### Return values

mixed —

#### isCancelled()

Event.php : 32
`public isCancelled() : bool`

##### Return values

bool —

#### onEnd()

OnExceptionEvent.php : 36
`public onEnd(Event $event) : mixed`

##### Parameters

$event : Event

##### Return values

mixed —

#### run()

OnExceptionEvent.php : 31
`public run(Event $event) : Event`

##### Parameters

$event : Event

##### Return values

Event —

#### setIsCancelled()

Event.php : 40
`public setIsCancelled(bool $isCancelled) : mixed`

##### Parameters

$isCancelled : bool

##### Return values

mixed —

#### buildHooks()

Event.php : 69
`private buildHooks() : mixed`

##### Return values

mixed —

## Search results