Programming Language PHP

Namespace EmailReplyParser

Class EmailReplyParser

Method/Function parseReply

Total Examples 2

2 code examples of PHP EmailReplyParser\EmailReplyParser::parseReply extracted from open source projects

Was this example useful?
0
                                                    public function visibleText(): ?string
    {
        return EmailReplyParser::parseReply($this->text());
    }
                                            
Was this example useful?
0
                                                    public function getVisibleText() : string
    {
        $text = $this->getText();

        if (empty($text)) {
            throw new \RuntimeException('No text body is found');
        }

        return \EmailReplyParser\EmailReplyParser::parseReply($text);
    }
                                            
EmailReplyParser's Other Methods