public function Unescaper::unescapeSingleQuotedString in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Symfony/Component/Yaml/Unescaper.php \Symfony\Component\Yaml\Unescaper::unescapeSingleQuotedString()
- 7.2 vendor/Symfony/Component/Yaml/Unescaper.php \Symfony\Component\Yaml\Unescaper::unescapeSingleQuotedString()
Unescapes a single quoted string.
Parameters
string $value A single quoted string.:
Return value
string The unescaped string.
File
- vendor/
Symfony/ Component/ Yaml/ Unescaper.php, line 36
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);
}