Laravel version update
Laravel version update
This commit is contained in:
		
							
								
								
									
										30
									
								
								vendor/egulias/email-validator/EmailValidator/Warning/Warning.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								vendor/egulias/email-validator/EmailValidator/Warning/Warning.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
| <?php | ||||
|  | ||||
| namespace Egulias\EmailValidator\Warning; | ||||
|  | ||||
| abstract class Warning | ||||
| { | ||||
|     const CODE = 0; | ||||
|     protected $message; | ||||
|     protected $rfcNumber; | ||||
|  | ||||
|     public function message() | ||||
|     { | ||||
|         return $this->message; | ||||
|     } | ||||
|  | ||||
|     public function code() | ||||
|     { | ||||
|         return self::CODE; | ||||
|     } | ||||
|  | ||||
|     public function RFCNumber() | ||||
|     { | ||||
|         return $this->rfcNumber; | ||||
|     } | ||||
|  | ||||
|     public function __toString() | ||||
|     { | ||||
|         return $this->message() . " rfc: " .  $this->rfcNumber . "interal code: " . static::CODE; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Manish Verma
					Manish Verma