コード例 #1
0
ファイル: Helpers.php プロジェクト: jdrda/olapus
 /**
  * Get method name from route action without namespace
  *
  * @return string
  */
 public static function getRouteMethod()
 {
     $method = explode('@', \Illuminate\Routing\Route::getCurrentRoute()->getActionName());
     return end($method);
 }