Esempio n. 1
0
 /**
  * Get method name from route action without namespace
  *
  * @return string
  */
 public static function getRouteMethod()
 {
     $method = explode('@', \Illuminate\Routing\Route::getCurrentRoute()->getActionName());
     return end($method);
 }