Class Swift_Mime_Grammar
Defines the grammar to use for validation, implements the RFC 2822 (and friends) ABNF grammar definitions.
Package: Swift\Mime
Author: Fabien Potencier
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/Grammar.php
Author: Fabien Potencier
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/Grammar.php
Methods summary
public
|
|
public
|
|
protected
|
|
public
string
|
|
public
array
|
|
public
array
|
#
getSpecials( )
Returns the current special characters used in the syntax which need to be escaped. |
public
string
|
#
escapeSpecials( string $token, string[] $include = array(), string[] $exclude = array() )
Escape special characters in a string (convert to quoted-pairs). |
Magic methods summary
Properties summary
private static
string[]
|
$_specials |
#
Special characters used in the syntax which need to be escaped. |
private static
string[]
|
$_grammar |
#
Tokens defined in RFC 2822 (and some related RFCs). |