lundi 1 février 2016

Laravel 5: how to get the paths of all routes?

I need to get a list of the paths of all routes programmatically.

I tried Route::getRoutes() - not working in L5. RouteCollection::getRoutes() - is not a static method.

I bet I can get the RouteCollection from $request, but I don't know how.

K



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire