public function getContentResourceHandle($charset = MailMimeParser::DEFAULT_CHARSET)
    {
        $stream = $this->getContentStream($charset);
        if ($stream !== null) {
            return StreamWrapper::getResource($stream);
        }
        return null;
    }
public function getContentResourceHandle($charset = MailMimeParser::DEFAULT_CHARSET)
    {
        $stream = $this->getContentStream($charset);
        if ($stream !== null) {
            return StreamWrapper::getResource($stream);
        }
        return null;
    }
public function getContentResourceHandle ( $ charset = MailMimeParser :: DEFAULT_CHARSET ) { $ stream = $ this -> getContentStream ( $ charset ) ; if ( $ stream !== null ) { return StreamWrapper :: getResource ( $ stream ) ; } return null ; }
Returns a resource handle for the content's stream, or null if the part
doesn't have a content stream.

The method wraps a call to {@see MessagePart::getContentStream()} and
returns a resource handle for the returned Stream.

@param string $charset
@return resource|null
Returns a resource handle for the content s stream or null if the part doesn t have a content stream .