original_string: public function resolveMiddleware($name)
      {
          if (isset($this->middlewareGroups[$name])) {
              return $this->parseMiddlewareGroup($name);
          }
  
          return $this->parseMiddleware($name);
      }
code: public function resolveMiddleware($name)
      {
          if (isset($this->middlewareGroups[$name])) {
              return $this->parseMiddlewareGroup($name);
          }
  
          return $this->parseMiddleware($name);
      }
code_tokens: public function resolveMiddleware ( $ name ) { if ( isset ( $ this -> middlewareGroups [ $ name ] ) ) { return $ this -> parseMiddlewareGroup ( $ name ) ; } return $ this -> parseMiddleware ( $ name ) ; }
docstring: Resolve the middleware name to class name preserving passed parameters.
  
  @param  string $name
  @return array
docstring_tokens: Resolve the middleware name to class name preserving passed parameters .