class Unescaper
Unescaper encapsulates unescaping rules for single and double-quoted YAML strings.
REGEX_ESCAPED_CHARACTER | Regex fragment that matches an escaped character in a double quoted string. |
string | unescapeSingleQuotedString(string $value) Unescapes a single quoted string. | |
string | unescapeDoubleQuotedString(string $value) Unescapes a double quoted string. |
Unescapes a single quoted string.
string | $value | A single quoted string |
string | The unescaped string |
Unescapes a double quoted string.
string | $value | A double quoted string |
string | The unescaped string |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Yaml/Unescaper.html