original_string: public function prependMiddleware($middleware)
      {
          if (array_search($middleware, $this->middleware) === false) {
              array_unshift($this->middleware, $middleware);
          }
  
          return $this;
      }
code: public function prependMiddleware($middleware)
      {
          if (array_search($middleware, $this->middleware) === false) {
              array_unshift($this->middleware, $middleware);
          }
  
          return $this;
      }
code_tokens: public function prependMiddleware ( $ middleware ) { if ( array_search ( $ middleware , $ this -> middleware ) === false ) { array_unshift ( $ this -> middleware , $ middleware ) ; } return $ this ; }
docstring: Add a new middleware to beginning of the stack if it does not already exist.
  
  @param  string  $middleware
  @return $this
docstring_tokens: Add a new middleware to beginning of the stack if it does not already exist .