class Yaml Yaml offers convenience methods to load and dump YAML.
static string parseScalar(string $scalar, int $flags, string $delimiters = null, array $stringDelimiters = array('"', '\''), int $i, bool $evaluate = true, array
string unescapeSingleQuotedString(string $value) Unescapes a single quoted string.
static bool requiresSingleQuoting(string $value) Determines if a PHP value would require
class Inline Inline implements a YAML parser/dumper for the YAML inline syntax.
static string escapeWithSingleQuotes(string $value) Escapes and surrounds a PHP value
static string evaluateBinaryScalar(string $scalar) Parameters
string dump(mixed $input, int $inline, int $indent, int $flags) Dumps a PHP value to YAML.
static mixed parse(string $input, int $flags) Parses YAML into a PHP value. Usage:
static bool requiresDoubleQuoting(string $value) Determines if a PHP value would require
Page 2 of 3