InvalidEmail.php 280 B

123456789101112131415
  1. <?php
  2. namespace Egulias\EmailValidator\Exception;
  3. abstract class InvalidEmail extends \InvalidArgumentException
  4. {
  5. const REASON = "Invalid email";
  6. const CODE = 0;
  7. public function __construct()
  8. {
  9. parent::__construct(static::REASON, static::CODE);
  10. }
  11. }