<?php namespace Egulias\EmailValidator\Warning; abstract class Warning { /** * @var int CODE */ public const CODE = 0; /** * @var string */ protected $message = ''; /** * @var int */ protected $rfcNumber = 0; /** * @return string */ public function message() { return $this->message; } /** * @return int */ public function code() { return self::CODE; } /** * @return int */ public function RFCNumber() { return $this->rfcNumber; } /** * @return string */ public function __toString(): string { return $this->message() . " rfc: " . $this->rfcNumber . "internal code: " . strval(static::CODE); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
AddressLiteral.php | File | 258 B | 0644 |
|
CFWSNearAt.php | File | 228 B | 0644 |
|
CFWSWithFWS.php | File | 244 B | 0644 |
|
Comment.php | File | 216 B | 0644 |
|
DeprecatedComment.php | File | 217 B | 0644 |
|
DomainLiteral.php | File | 241 B | 0644 |
|
EmailTooLong.php | File | 293 B | 0644 |
|
IPV6BadChar.php | File | 256 B | 0644 |
|
IPV6ColonEnd.php | File | 267 B | 0644 |
|
IPV6ColonStart.php | File | 271 B | 0644 |
|
IPV6Deprecated.php | File | 251 B | 0644 |
|
IPV6DoubleColon.php | File | 262 B | 0644 |
|
IPV6GroupCount.php | File | 257 B | 0644 |
|
IPV6MaxGroups.php | File | 276 B | 0644 |
|
LocalTooLong.php | File | 316 B | 0644 |
|
NoDNSMXRecord.php | File | 267 B | 0644 |
|
ObsoleteDTEXT.php | File | 259 B | 0644 |
|
QuotedPart.php | File | 367 B | 0644 |
|
QuotedString.php | File | 348 B | 0644 |
|
TLD.php | File | 195 B | 0644 |
|
Warning.php | File | 795 B | 0644 |
|