Open zkwbbr opened 1 year ago
Is there a away to get all declared routes in the current version (or planned in the next)?
For example, something like this?
$router->get('/foo', Foo::class); $router->get('/bar', Bar::class); $result = $router->getRoutes(); // an array of the above (/foo and /bar)
Is there a away to get all declared routes in the current version (or planned in the next)?
For example, something like this?