Reflector
in package
Class Reflector.
Table of Contents
Properties
- $reflection : ReflectionClass<string|int, object>
Methods
- __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<string|int, object>
$reflection
Methods
__construct()
public
__construct(T>|object $routeActions) : mixed
Parameters
- $routeActions : T>|object
Tags
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>