Table of Contents
Constants
-
FWS_TYPES
= [\Egulias\EmailValidator\EmailLexer::S_SP, \Egulias\EmailValidator\EmailLexer::S_HTAB, \Egulias\EmailValidator\EmailLexer::S_CR, \Egulias\EmailValidator\EmailLexer::S_LF, \Egulias\EmailValidator\EmailLexer::CRLF]
Properties
-
$lexer
: EmailLexer
-
$warnings
: array<string|int, mixed>
Methods
-
__construct()
: mixed
-
getWarnings()
: array<string|int, Warning>
-
parse()
: Result
-
checkConsecutiveDots()
: Result
-
checkCRLFInFWS()
: Result
-
escaped()
: bool
-
isFWS()
: bool
-
parseFWS()
: Result
FWS_TYPES
public
mixed
FWS_TYPES
= [\Egulias\EmailValidator\EmailLexer::S_SP, \Egulias\EmailValidator\EmailLexer::S_HTAB, \Egulias\EmailValidator\EmailLexer::S_CR, \Egulias\EmailValidator\EmailLexer::S_LF, \Egulias\EmailValidator\EmailLexer::CRLF]
$lexer
protected
EmailLexer
$lexer
$warnings
protected
array<string|int, mixed>
$warnings
= []
__construct()
public
__construct(EmailLexer $lexer) : mixed
Parameters
-
$lexer
: EmailLexer
-
getWarnings()
public
getWarnings() : array<string|int, Warning>
Return values
array<string|int, Warning>
parse()
public
parse() : Result
checkConsecutiveDots()
protected
checkConsecutiveDots() : Result
checkCRLFInFWS()
protected
checkCRLFInFWS() : Result
escaped()
protected
escaped() : bool
isFWS()
protected
isFWS() : bool
parseFWS()
protected
parseFWS() : Result