3
I wonder if in Laravel, beyond the information I already have on a route, as the name
, action
or uri
, there is some way to define metadata.
For example:
Route::get('/', [
'uses' => 'HomeController@getIndex',
'as' => 'home',
'__title__' => 'Página inicial'
]);
In Laravel, there are some have been to recover that value of __title__
which I defined on that route?