Méthode | Description | |
---|---|---|
dump ( $value ) : string | Dumps PHP array to YAML. | |
load ( $value ) : array | Load YAML into a PHP array. | |
parseScalar ( scalar $scalar, string $delimiters = null, $stringDelimiters = ['"', "'"], integer &$i, boolean $evaluate = true ) : string | Parses scalar to yaml |
Méthode | Description | |
---|---|---|
dumpArray ( $value ) : string | Dumps PHP array to YAML | |
evaluateScalar ( string $scalar ) : string | Evaluates scalars and replaces magic values. | |
getTimestampRegex ( ) | ||
parseMapping ( string $mapping, integer &$i ) : string | Parses mapping. | |
parseQuotedScalar ( string $scalar, integer &$i ) : string | Parses quotes scalar | |
parseSequence ( string $sequence, integer &$i ) : string | Parse sequence to yaml |
protected static evaluateScalar ( string $scalar ) : string | ||
$scalar | string | |
Résultat | string | YAML |