Documentation

Router extends Component
in package
implements IRouter, ISingleton

AbstractYes
Tags
author

Ramone Burrell ramone@ramoneburrell.com

since

Version 0.1.0

Table of Contents

Interfaces

IRouter
ISingleton

Properties

$application  : IApplication
The application is router is currently routing an action for
$route  : IRoute
The active route that is currently being executed in this router / application
$routes  : ArrayObject
$hashCode  : int
$hashCounter  : int

Methods

__call()  : mixed
__callStatic()  : mixed
__destruct()  : mixed
__get()  : mixed
extends()  : bool
getApplication()  : IApplication
getReflection()  : ReflectionClass
getRoute()  : IRoute
Gets the active route that is currently being executed in this router
route()  : IRoute
Routes a request to the appropriate controller and action with the application
setApplication()  : mixed
__construct()  : mixed
init()  : mixed
{@inheritdoc}

Properties

Methods

__callStatic()

public static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : mixed
$arguments : array<string|int, mixed>

__get()

public __get(string $property) : mixed
Parameters
$property : string

extends()

public extends(ReflectionClass $reflector) : bool
Parameters
$reflector : ReflectionClass
Return values
bool

getReflection()

public getReflection() : ReflectionClass
Return values
ReflectionClass

init()

{@inheritdoc}

protected init() : mixed
Tags
see
Component::init()

        
On this page

Search results