Menu

## OnRouteEnd extends Event
in package

OnRouteEnd.php : 9

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

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

#### $hooks

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

#### $path

OnRouteEnd.php : 12
`private string $path`

### Methods

#### __construct()

OnRouteEnd.php : 18

OnRouteEvent constructor.

`public __construct(string $path) : mixed`

##### Parameters

$path : string

##### Return values

mixed —

#### call()

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

##### Return values

mixed —

#### getName()

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

##### Return values

mixed —

#### getPath()

OnRouteEnd.php : 39
`public getPath() : mixed|string`

##### Return values

mixed|string —

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

OnRouteEnd.php : 28
`public onEnd(Event $event) : Event`

##### Parameters

$event : Event

##### Return values

Event —

#### run()

OnRouteEnd.php : 23
`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