EmailTooLong.php 286 B

12345678910111213141516
  1. <?php
  2. namespace Egulias\EmailValidator\Warning;
  3. use Egulias\EmailValidator\EmailParser;
  4. class EmailTooLong extends Warning
  5. {
  6. const CODE = 66;
  7. public function __construct()
  8. {
  9. $this->message = 'Email is too long, exceeds ' . EmailParser::EMAIL_MAX_LENGTH;
  10. }
  11. }