currentRouteUses() public method

Determine if the current route action matches a given action.
public currentRouteUses ( string $action ) : boolean
$action string
return boolean
Example #1
0
 /**
  * Determine if the current route action matches a given action.
  *
  * @param string $action
  * @return bool 
  * @static 
  */
 public static function currentRouteUses($action)
 {
     return \Illuminate\Routing\Router::currentRouteUses($action);
 }