private function getRouteMethod() { $routeArray = Str::parseCallback(Route::currentRouteAction(), null); return last($routeArray); }