Reflector class
Framework\Routing\Reflector
Class Reflector.
Defined in libraries/routing/src/Reflector.php
Properties #
$reflection
protected ReflectionClass $reflection
Methods #
- __construct()
- -
- getRoutes()
- -
- getRoutesNotFound()
- -
- getMethodRoutes()
- -
- getMethodRoutesNotFound()
- -
- getObjectOrigins()
- -
__construct()
public function __construct(object|string $routeActions)
Parameters
- object|string $routeActions
getRoutes()
public function getRoutes(): array
Returns
array
getRoutesNotFound()
public function getRoutesNotFound(): array
Returns
array
getMethodRoutes()
protected function getMethodRoutes(string $method): array
Parameters
- string $method
Returns
array
getMethodRoutesNotFound()
protected function getMethodRoutesNotFound(string $method): array
Parameters
- string $method
Returns
array
getObjectOrigins()
protected function getObjectOrigins(ReflectionClass $reflection): array
Parameters
- ReflectionClass $reflection
Returns
array