Menu

## OnNotifyEvent extends Event
in package

OnNotifyEvent.php : 9

### Table of Contents

$isCancelled : mixed
$handler : mixed
$hooks : mixed
$notification : Notification
__construct() : mixed
call() : mixed
getHandler() : mixed
getName() : mixed
getNotification() : Notification
hook() : mixed
isCancelled() : bool
onEnd() : mixed
run() : Event
setIsCancelled() : mixed
buildHooks() : mixed

### Properties

#### $isCancelled

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

#### $handler

OnNotifyEvent.php : 13
`private mixed $handler`

#### $hooks

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

#### $notification

OnNotifyEvent.php : 11
`private Notification $notification`

### Methods

#### __construct()

OnNotifyEvent.php : 15
`public __construct(mixed $notification[, mixed $handler = null ]) : mixed`

##### Parameters

$notification : mixed
$handler : mixed = null

##### Return values

mixed —

#### call()

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

##### Return values

mixed —

#### getHandler()

OnNotifyEvent.php : 36
`public getHandler() : mixed`

##### Return values

mixed —

#### getName()

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

##### Return values

mixed —

#### getNotification()

OnNotifyEvent.php : 31
`public getNotification() : Notification`

##### Return values

Notification —

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

OnNotifyEvent.php : 26
`public onEnd(Event $event) : mixed`

##### Parameters

$event : Event

##### Return values

mixed —

#### run()

OnNotifyEvent.php : 21
`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