You are here

public function Unescaper::unescapeSingleQuotedString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/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/yaml/Unescaper.php, line 44

Class

Unescaper
Unescaper encapsulates unescaping rules for single and double-quoted YAML strings.

Namespace

Symfony\Component\Yaml

Code

public function unescapeSingleQuotedString($value) {
  return str_replace('\'\'', '\'', $value);
}