|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Escaper encapsulates escaping rules for single and double-quoted YAML strings. More...
Collaboration diagram for Symfony\Component\Yaml\Escaper:Static Public Member Functions | |
| static | requiresDoubleQuoting ($value) |
| Determines if a PHP value would require double quoting in YAML. More... | |
| static | escapeWithDoubleQuotes ($value) |
| Escapes and surrounds a PHP value with double quotes. More... | |
| static | requiresSingleQuoting ($value) |
| Determines if a PHP value would require single quoting in YAML. More... | |
| static | escapeWithSingleQuotes ($value) |
| Escapes and surrounds a PHP value with single quotes. More... | |
Data Fields | |
| const | REGEX_CHARACTER_TO_ESCAPE = "[\\x00-\\x1f]|\xc2\x85|\xc2\xa0|\xe2\x80\xa8|\xe2\x80\xa9" |
Static Private Attributes | |
| static | $escapees |
| static | $escaped |
Escaper encapsulates escaping rules for single and double-quoted YAML strings.
Definition at line 22 of file Escaper.php.
|
static |
Escapes and surrounds a PHP value with double quotes.
| string | $value | A PHP value |
Definition at line 63 of file Escaper.php.
References sprintf.
Referenced by Symfony\Component\Yaml\Inline\dump().
Here is the caller graph for this function:
|
static |
Escapes and surrounds a PHP value with single quotes.
| string | $value | A PHP value |
Definition at line 95 of file Escaper.php.
References sprintf.
Referenced by Symfony\Component\Yaml\Inline\dump().
Here is the caller graph for this function:
|
static |
Determines if a PHP value would require double quoting in YAML.
| string | $value | A PHP value |
Definition at line 51 of file Escaper.php.
Referenced by Symfony\Component\Yaml\Inline\dump().
Here is the caller graph for this function:
|
static |
Determines if a PHP value would require single quoting in YAML.
| string | $value | A PHP value |
Definition at line 75 of file Escaper.php.
Referenced by Symfony\Component\Yaml\Inline\dump().
Here is the caller graph for this function:
|
staticprivate |
Definition at line 37 of file Escaper.php.
|
staticprivate |
Definition at line 31 of file Escaper.php.
| const Symfony\Component\Yaml\Escaper::REGEX_CHARACTER_TO_ESCAPE = "[\\x00-\\x1f]|\xc2\x85|\xc2\xa0|\xe2\x80\xa8|\xe2\x80\xa9" |
Definition at line 25 of file Escaper.php.