Class Escaper
Escaper encapsulates escaping rules for single and double-quoted YAML strings.
Namespace: Symfony\Component\Yaml
Author: Matthew Lewinski <matthew@lewinski.org>
Located at yaml/Symfony/Component/Yaml/Escaper.php
Author: Matthew Lewinski <matthew@lewinski.org>
Located at yaml/Symfony/Component/Yaml/Escaper.php
public static
Boolean
|
#
requiresDoubleQuoting( string $value )
Determines if a PHP value would require double quoting in YAML. |
public static
string
|
|
public static
Boolean
|
#
requiresSingleQuoting( string $value )
Determines if a PHP value would require single quoting in YAML. |
public static
string
|
string |
REGEX_CHARACTER_TO_ESCAPE
|
"[\\x00-\\x1f]|\xc2\x85|\xc2\xa0|\xe2\x80\xa8|\xe2\x80\xa9" |