original_string: public static function fromAction(array $action, $subClass = null)
      {
          $parameters = is_string($action['uses'])
                          ? static::fromClassMethodString($action['uses'])
                          : (new ReflectionFunction($action['uses']))->getParameters();
  
          return is_null($subClass) ? $parameters : array_filter($parameters, function ($p) use ($subClass) {
              return $p->getClass() && $p->getClass()->isSubclassOf($subClass);
          });
      }
code: public static function fromAction(array $action, $subClass = null)
      {
          $parameters = is_string($action['uses'])
                          ? static::fromClassMethodString($action['uses'])
                          : (new ReflectionFunction($action['uses']))->getParameters();
  
          return is_null($subClass) ? $parameters : array_filter($parameters, function ($p) use ($subClass) {
              return $p->getClass() && $p->getClass()->isSubclassOf($subClass);
          });
      }
code_tokens: public static function fromAction ( array $ action , $ subClass = null ) { $ parameters = is_string ( $ action [ 'uses' ] ) ? static :: fromClassMethodString ( $ action [ 'uses' ] ) : ( new ReflectionFunction ( $ action [ 'uses' ] ) ) -> getParameters ( ) ; return is_null ( $ subClass ) ? $ parameters : array_filter ( $ parameters , function ( $ p ) use ( $ subClass ) { return $ p -> getClass ( ) && $ p -> getClass ( ) -> isSubclassOf ( $ subClass ) ; } ) ; }
docstring: Extract the route action's signature parameters.
  
  @param  array  $action
  @param  string  $subClass
  @return array
docstring_tokens: Extract the route action s signature parameters .