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

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

@return resource|null
Returns a resource handle for the content s raw data stream or null if the part doesn t have a content stream .