How can I get all routes in project which have GET
method? I have tried:
Route::getRoutes()
which gave me all routes but somehow I could not have filtered them by method.
The Route::getRoutes()->routes
would be nice to have but routes is protected property and I do not see any getter
.