"application/xml" ]); } public static function fromResponse(ResponseInterface $response) : static { return new static($response->getBody(), $response->getStatusCode(), $response->getHeaders()); } public static function createFrom(mixed $content) : ResponseInterface { return new static(XmlStream::fromContent($content)); } }