Inline

Inline

class Inline

Inline implements a YAML parser/dumper for the YAML inline syntax.

Constants

REGEX_QUOTED_STRING

Methods

static mixed parse(string $value, bool $exceptionOnInvalidType = false, bool $objectSupport = false, bool $objectForMap = false, array $references = array())

Converts a YAML string to a PHP value.

static string dump(mixed $value, bool $exceptionOnInvalidType = false, bool $objectSupport = false)

Dumps a given PHP variable to a YAML string.

static bool isHash(array $value)

Check if given array is hash or just normal indexed array.