LocalTooLong.php 302 B

123456789101112131415
  1. <?php
  2. namespace Egulias\EmailValidator\Warning;
  3. class LocalTooLong extends Warning
  4. {
  5. const CODE = 64;
  6. const LOCAL_PART_LENGTH = 64;
  7. public function __construct()
  8. {
  9. $this->message = 'Local part is too long, exceeds 64 chars (octets)';
  10. $this->rfcNumber = 5322;
  11. }
  12. }