class Inline
Inline implements a YAML parser/dumper for the YAML inline syntax.
REGEX_QUOTED_STRING |
static array | parse(string $value, bool $exceptionOnInvalidType = false, bool $objectSupport = false, bool $objectForMap = false, array $references = array()) Converts a YAML string to a PHP array. | |
static string | dump(mixed $value, bool $exceptionOnInvalidType = false, bool $objectSupport = false) Dumps a given PHP variable to a YAML string. | |
static string | parseScalar(scalar $scalar, string $delimiters = null, array $stringDelimiters = array('"', '\''), int $i, bool $evaluate = true, array $references = array()) Parses a scalar to a YAML string. |
Converts a YAML string to a PHP array.
Dumps a given PHP variable to a YAML string.
Parses a scalar to a YAML string.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Yaml/Inline.html