Class Framework\Routing\Reflector · Aplus Framework Docs

Aplus Framework Docs

Reflector
in package

Class Reflector.

Table of Contents

$reflection  : ReflectionClass
__construct()  : mixed
getRoutes()  : array<string|int, mixed>
getRoutesNotFound()  : array<string|int, mixed>
getMethodRoutes()  : array<string|int, Route>
getMethodRoutesNotFound()  : array<string|int, RouteNotFound>
getObjectOrigins()  : array<int, string>

Properties

$reflection

protected ReflectionClass $reflection

Methods

__construct()

public __construct(class-string<\Framework\Routing\T>|object $routeActions) : mixed
Parameters
$routeActions : class-string<\Framework\Routing\T>|object
Tags
template

T of object

throws
ReflectionException
Return values
mixed

getRoutes()

public getRoutes() : array<string|int, mixed>
Tags
throws
ReflectionException
Return values
array<string|int, mixed>

getRoutesNotFound()

public getRoutesNotFound() : array<string|int, mixed>
Tags
throws
ReflectionException
Return values
array<string|int, mixed>

getMethodRoutes()

protected getMethodRoutes(string $method) : array<string|int, Route>
Parameters
$method : string
Tags
throws
ReflectionException
Return values
array<string|int, Route>

getMethodRoutesNotFound()

protected getMethodRoutesNotFound(string $method) : array<string|int, RouteNotFound>
Parameters
$method : string
Tags
throws
ReflectionException
Return values
array<string|int, RouteNotFound>

getObjectOrigins()

protected getObjectOrigins(ReflectionClass<string|int, T> $reflection) : array<int, string>
Parameters
$reflection : ReflectionClass<string|int, T>
Tags
template

T of object

Return values
array<int, string>

Search results

    with

    Page rendered at Sat, 04 Jul 2026 05:01:56 +0000.