2020-11-08から1日間の記事一覧
// use Illuminate\Support\Facades\Route; $route = Route::current(); $name = $route->getName(); // => 'example.index' $actionName = $route->getActionName(); // => 'App\\Http\\Controllers\\ExampleController@index'
// use Illuminate\Support\Facades\Route; $route = Route::current(); $name = $route->getName(); // => 'example.index' $actionName = $route->getActionName(); // => 'App\\Http\\Controllers\\ExampleController@index'