- WIP on validations
This commit is contained in:
1 parent
c82eae5be4
commit
f292ac63ca
5 files changed
+29
-6
No files matched your search
@@ -37,7 +37,7 @@ class RouteDescriptor
|
||||
|
||||
$base = $attribute ? $attribute->object->getBase() : "";
|
||||
|
||||
foreach($reflector->reflectMethods() as $method) {
|
||||
foreach($reflector->reflectMethods(includeParents: (bool) $attribute->object->inheritRoutes) as $method) {
|
||||
foreach(array_reverse($method->getAttributes(Route::class)) as $routeAttribute) {
|
||||
$itemBase = $routeAttribute->object->getBase() ?? $base;
|
||||
$route = $routeAttribute->object;
|
||||
|
||||
Reference in new issue
Block a user