-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerspriorityIssue should be prioritizedIssue should be prioritized
Description
Currently this package get all routes by calling default laravel router. Please add an ability to use custom class to get routes.
Typically we will need a new config that pass the default class to fetch all routes:
Currently:
$routes = app('Dingo\Api\Routing\Router')->getRoutes();
In this case I'm using package dingo/api so it should look like this:
$routes = [];
foreach(app('Dingo\Api\Routing\Router')->getRoutes() as $r) {
foreach($r->getRoutes() as $rr) {
$routes[] = $rr;
}
}
Anw, I believe this package would be a must-have package in future. Thanks so much for your efforts!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerspriorityIssue should be prioritizedIssue should be prioritized