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
public function visibleText(): ?string
{
return EmailReplyParser::parseReply($this->text());
}
public function getVisibleText() : string
{
$text = $this->getText();
if (empty($text)) {
throw new \RuntimeException('No text body is found');
}
return \EmailReplyParser\EmailReplyParser::parseReply($text);
}