public function setEndMiddleware($middleware)
    {
        $object = $this->marshalMiddleware($middleware);

        $this->endMiddleware = $object;

        return $this;
    }
public function setEndMiddleware($middleware)
    {
        $object = $this->marshalMiddleware($middleware);

        $this->endMiddleware = $object;

        return $this;
    }
public function setEndMiddleware ( $ middleware ) { $ object = $ this -> marshalMiddleware ( $ middleware ) ; $ this -> endMiddleware = $ object ; return $ this ; }
Method to set property endMiddleware

@param   MiddlewareInterface|callable $middleware

@return  static  Return self to support chaining.
@throws \ReflectionException
Method to set property endMiddleware