public function Unescaper::unescapeSingleQuotedString in Plug 7
Unescapes a single quoted string.
Parameters
string $value A single quoted string.:
Return value
string The unescaped string.
File
- lib/
Symfony/ yaml/ Symfony/ Component/ Yaml/ Unescaper.php, line 38
Class
- Unescaper
- Unescaper encapsulates unescaping rules for single and double-quoted YAML strings.
Namespace
Symfony\Component\YamlCode
public function unescapeSingleQuotedString($value) {
return str_replace('\'\'', '\'', $value);
}