src/Http/Message.php
public function toString()
    {
        $headers = $this->headers();
        if ($headers['Transfer-Encoding']->value() === 'chunked') {
            return $this->toChunks();
        }
        return $this->_stream->toString();
    }
public function toString()
    {
        $headers = $this->headers();
        if ($headers['Transfer-Encoding']->value() === 'chunked') {
            return $this->toChunks();
        }
        return $this->_stream->toString();
    }
public function toString ( ) { $ headers = $ this -> headers ( ) ; if ( $ headers [ 'Transfer-Encoding' ] -> value ( ) === 'chunked' ) { return $ this -> toChunks ( ) ; } return $ this -> _stream -> toString ( ) ; }
Magic method convert the instance body into a string.

@return string
Magic method convert the instance body into a string .