芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal-back/vendor/egulias/email-validator/src/Validation/RFCValidation.php
parser = new EmailParser($emailLexer); try { $result = $this->parser->parse($email); $this->warnings = $this->parser->getWarnings(); if ($result->isInvalid()) { /** @psalm-suppress PropertyTypeCoercion */ $this->error = $result; return false; } } catch (\Exception $invalid) { $this->error = new InvalidEmail(new ExceptionFound($invalid), ''); return false; } return true; } public function getError() : ?InvalidEmail { return $this->error; } public function getWarnings() : array { return $this->warnings; } }