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
Return values
mixed —getRoutes()
public
getRoutes() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getRoutesNotFound()
public
getRoutesNotFound() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getMethodRoutes()
protected
getMethodRoutes(string $method) : array<string|int, Route>
Parameters
- $method : string
Tags
Return values
array<string|int, Route> —getMethodRoutesNotFound()
protected
getMethodRoutesNotFound(string $method) : array<string|int, RouteNotFound>
Parameters
- $method : string
Tags
Return values
array<string|int, RouteNotFound> —getObjectOrigins()
protected
getObjectOrigins(ReflectionClass<string|int, T> $reflection) : array<int, string>
Parameters
- $reflection : ReflectionClass<string|int, T>