메소드 |
설명 |
|
__construct ( ) |
Initialize some RFC 2822 (and friends) ABNF grammar definitions. |
|
__wakeup ( ) |
|
|
escapeSpecials ( string $token, string[] $include = [], string[] $exclude = [] ) : string |
Escape special characters in a string (convert to quoted-pairs). |
|
getDefinition ( string $name ) : string |
Get the grammar defined for $name token. |
|
getGrammarDefinitions ( ) : array |
Returns the tokens defined in RFC 2822 (and some related RFCs). |
|
getSpecials ( ) : array |
Returns the current special characters used in the syntax which need to be escaped. |
|