Snaju Inception Docs

OnRouteFallback extends Event
in package

Table of Contents

$isCancelled  : mixed
$hooks  : mixed
$path  : string
__construct()  : mixed
OnRouteEvent constructor.
call()  : mixed
getName()  : mixed
getPath()  : mixed|string
hook()  : mixed
isCancelled()  : bool
onEnd()  : Event
run()  : Event
setIsCancelled()  : mixed
buildHooks()  : mixed

Properties

$isCancelled

protected mixed $isCancelled = false

$hooks

private mixed $hooks = []

Methods

__construct()

OnRouteEvent constructor.

public __construct(string $path) : mixed
Parameters
$path : string
Return values
mixed

call()

public call() : mixed
Return values
mixed

getName()

public static getName() : mixed
Return values
mixed

getPath()

public getPath() : mixed|string
Return values
mixed|string

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