| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | final class RouteReader extends AbstractReader |
||
| 19 | { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get admin routes. |
||
| 23 | * |
||
| 24 | * @param ReflectionClass $class Entity class. |
||
| 25 | * |
||
| 26 | * @return array<array<string, object>> Route name => route annotations, |
||
| 27 | * added route key 0, removed routes key 1. |
||
| 28 | */ |
||
| 29 | public function getRoutes(ReflectionClass $class): array |
||
| 54 |