Unescaper
class Unescaper
Unescaper encapsulates unescaping rules for single and double-quoted YAML strings.
Constants
| ENCODING |   Parser and Inline assume UTF-8 encoding, so escaped Unicode characters must be converted to that encoding.  |  
| REGEX_ESCAPED_CHARACTER |   Regex fragment that matches an escaped character in a double quoted string.  |  
Methods
| string |  unescapeSingleQuotedString(string $value)  Unescapes a single quoted string.  |  |
| string |  unescapeDoubleQuotedString(string $value)  Unescapes a double quoted string.  |  |
| string |  unescapeCharacter(string $value)  Unescapes a character that was found in a double-quoted string.  |  
Details
string unescapeSingleQuotedString(string $value)
Unescapes a single quoted string.
Parameters
| string | $value | A single quoted string | 
Return Value
| string | The unescaped string | 
string unescapeDoubleQuotedString(string $value)
Unescapes a double quoted string.
Parameters
| string | $value | A double quoted string | 
Return Value
| string | The unescaped string | 
string unescapeCharacter(string $value)
Unescapes a character that was found in a double-quoted string.
Parameters
| string | $value | An escaped character | 
Return Value
| string | The unescaped character | 
    © 2004–2017 Fabien Potencier
Licensed under the MIT License.
    http://api.symfony.com/2.7/Symfony/Component/Yaml/Unescaper.html