[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/composer/vendor/egulias/email-validator/EmailValidator/Warning/ -> Warning.php (source)

   1  <?php
   2  
   3  namespace Egulias\EmailValidator\Warning;
   4  
   5  abstract class Warning
   6  {
   7      const CODE = 0;
   8      protected $message;
   9      protected $rfcNumber;
  10  
  11      public function message()
  12      {
  13          return $this->message;
  14      }
  15  
  16      public function code()
  17      {
  18          return self::CODE;
  19      }
  20  
  21      public function RFCNumber()
  22      {
  23          return $this->rfcNumber;
  24      }
  25  
  26      public function __toString()
  27      {
  28          return $this->message() . " rfc: " .  $this->rfcNumber . "interal code: " . static::CODE;
  29      }
  30  }


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1