jeudi 17 novembre 2016

Get route list from parent route group in laravel

Here is the simple routing code: (i take it from official site just for example)

Route::group(['middleware' => 'auth'], function () {
    Route::get('/', function ()    {

    });

    Route::get('user/profile', function () {

    });
});

Is it possible to get all routes from this group programmatically? Thank you.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire