src/Http/Message.php
public function get($decodeOptions = [])
    {
        $media = $this->_classes['media'];
        $format = $this->format();
        return $format ? $media::decode($format, $this->_stream->toString(), $decodeOptions, $this) : $this->_stream->toString();
    }
public function get($decodeOptions = [])
    {
        $media = $this->_classes['media'];
        $format = $this->format();
        return $format ? $media::decode($format, $this->_stream->toString(), $decodeOptions, $this) : $this->_stream->toString();
    }
public function get ( $ decodeOptions = [ ] ) { $ media = $ this -> _classes [ 'media' ] ; $ format = $ this -> format ( ) ; return $ format ? $ media :: decode ( $ format , $ this -> _stream -> toString ( ) , $ decodeOptions , $ this ) : $ this -> _stream -> toString ( ) ; }
Gets the body of this message.

@param  array $decodeOptions The decoding options.
@return mixed                The formatted body.
Gets the body of this message .