*/ class EmailReplyParser { /** * @param string $text An email as text. * * @return Email */ public static function read($text) { $parser = new EmailParser(); return $parser->parse($text); } /** * @param string $text An email as text. * * @return string */ public static function parseReply($text) { return EmailReplyParser::read($text)->getVisibleText(); } }