src/HttpResponseAdapter.php
public function fromPsr7($input)
    {
        $adapted = new HTTPResponse(
            (string) $input->getBody(),
            $input->getStatusCode(),
            $input->getReasonPhrase()
        );

        $this->importHeaders($input, $adapted);

        return $adapted;
    }
public function fromPsr7($input)
    {
        $adapted = new HTTPResponse(
            (string) $input->getBody(),
            $input->getStatusCode(),
            $input->getReasonPhrase()
        );

        $this->importHeaders($input, $adapted);

        return $adapted;
    }
{@inheritDoc}