| Total Complexity | 7 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | final class RouteReader |
||
| 19 | { |
||
| 20 | |||
| 21 | use AnnotationReaderTrait; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Get admin routes. |
||
| 25 | * |
||
| 26 | * @param ReflectionClass $class Entity class. |
||
| 27 | * |
||
| 28 | * @return array<array<string, object>> Route name => route annotations, |
||
| 29 | * added route key 0, removed routes key 1. |
||
| 30 | */ |
||
| 31 | public function getRoutes(ReflectionClass $class): array |
||
| 61 |