original_string: public function addMiddleware(string $name, MiddlewareInterface $middleware): self
      {
          $this->container[$name] = $middleware;
          array_unshift($this->middleware, $name);
  
          return $this;
      }
code: public function addMiddleware(string $name, MiddlewareInterface $middleware): self
      {
          $this->container[$name] = $middleware;
          array_unshift($this->middleware, $name);
  
          return $this;
      }
code_tokens: public function addMiddleware ( string $ name , MiddlewareInterface $ middleware ) : self { $ this -> container [ $ name ] = $ middleware ; array_unshift ( $ this -> middleware , $ name ) ; return $ this ; }
docstring: Add Middleware that will be executed as soon as possible.
  
  @param string $name
  @param MiddlewareInterface $middleware
  @return $this
docstring_tokens: Add Middleware that will be executed as soon as possible .