OnNotifyEvent
extends Event
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
$isCancelled
protected
mixed
$isCancelled
= false
$handler
private
mixed
$handler
$hooks
private
mixed
$hooks
= []
$notification
private
Notification
$notification
__construct()
public
__construct(mixed $notification[, mixed $handler = null ]) : mixed
Parameters
-
$notification
: mixed
-
-
$handler
: mixed
= null
-
Return values
mixed
—
call()
public
call() : mixed
Return values
mixed
—
getHandler()
public
getHandler() : mixed
Return values
mixed
—
getName()
public
static getName() : mixed
Return values
mixed
—
getNotification()
public
getNotification() : Notification
Return values
Notification
—
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
Return values
mixed
—