concrete/src/Http/DefaultServer.php
public function removeMiddleware(MiddlewareInterface $middleware)
    {
        $this->stack = $this->stack->withoutMiddleware($middleware);
        return $this;
    }
public function removeMiddleware(MiddlewareInterface $middleware)
    {
        $this->stack = $this->stack->withoutMiddleware($middleware);
        return $this;
    }
public function removeMiddleware ( MiddlewareInterface $ middleware ) { $ this -> stack = $ this -> stack -> withoutMiddleware ( $ middleware ) ; return $ this ; }
Remove a middleware from the stack
@param \Concrete\Core\Http\Middleware\MiddlewareInterface $middleware
@return self
Remove a middleware from the stack