|
|
const | REGEX_CHARACTER_TO_ESCAPE = "[\\x00-\\x1f]|\x7f|\xc2\x85|\xc2\xa0|\xe2\x80\xa8|\xe2\x80\xa9" |
Escaper encapsulates escaping rules for single and double-quoted YAML strings.
- Auteur
- Matthew Lewinski matth.nosp@m.ew@l.nosp@m.ewins.nosp@m.ki.o.nosp@m.rg
◆ escapeWithDoubleQuotes()
| escapeWithDoubleQuotes |
( |
string | $value | ) |
|
|
static |
Escapes and surrounds a PHP value with double quotes.
- Paramètres
-
◆ escapeWithSingleQuotes()
| escapeWithSingleQuotes |
( |
string | $value | ) |
|
|
static |
Escapes and surrounds a PHP value with single quotes.
- Paramètres
-
◆ requiresDoubleQuoting()
| requiresDoubleQuoting |
( |
string | $value | ) |
|
|
static |
Determines if a PHP value would require double quoting in YAML.
- Paramètres
-
◆ requiresSingleQuoting()
| requiresSingleQuoting |
( |
string | $value | ) |
|
|
static |
Determines if a PHP value would require single quoting in YAML.
- Paramètres
-
La documentation de cette classe a été générée à partir du fichier suivant :
- vendor/symfony/yaml/Escaper.php