public function getContents($options = array())
    {
        return empty($options['canonical'])
            ? (empty($options['stream']) ? $this->_readStream($this->_contents) : $this->_contents)
            : $this->replaceEOL($this->_contents, self::RFC_EOL, !empty($options['stream']));
    }
public function getContents($options = array())
    {
        return empty($options['canonical'])
            ? (empty($options['stream']) ? $this->_readStream($this->_contents) : $this->_contents)
            : $this->replaceEOL($this->_contents, self::RFC_EOL, !empty($options['stream']));
    }
public function getContents ( $ options = array ( ) ) { return empty ( $ options [ 'canonical' ] ) ? ( empty ( $ options [ 'stream' ] ) ? $ this -> _readStream ( $ this -> _contents ) : $ this -> _contents ) : $ this -> replaceEOL ( $ this -> _contents , self :: RFC_EOL , ! empty ( $ options [ 'stream' ] ) ) ; }
Return the body of the part.

@param array $options  Additional options:
- canonical: (boolean) Returns the contents in strict RFC 822 &
2045 output - namely, all newlines end with the
canonical <CR><LF> sequence.
DEFAULT: No
- stream: (boolean) Return the body as a stream resource.
DEFAULT: No

@return mixed  The body text (string) of the part, null if there is no
contents, and a stream resource if 'stream' is true.
Return the body of the part .