public function parse(StreamInterface $stream)
    {
        $partBuilder = $this->read($stream);
        return $partBuilder->createMessagePart($stream);
    }
public function parse(StreamInterface $stream)
    {
        $partBuilder = $this->read($stream);
        return $partBuilder->createMessagePart($stream);
    }
public function parse ( StreamInterface $ stream ) { $ partBuilder = $ this -> read ( $ stream ) ; return $ partBuilder -> createMessagePart ( $ stream ) ; }
Parses the passed stream into a ZBateson\MailMimeParser\Message object
and returns it.

@param StreamInterface $stream the stream to parse the message from
@return \ZBateson\MailMimeParser\Message
Parses the passed stream into a ZBateson \ MailMimeParser \ Message object and returns it .