Inline
class Inline
Inline implements a YAML parser/dumper for the YAML inline syntax.
Constants
REGEX_QUOTED_STRING |
|
Properties
static | $parsedLineNumber | ||
static | $parsedFilename |
Methods
static
initialize(int $flags, int|null $parsedLineNumber = null, string|null $parsedFilename = null)
No description
static mixed
parse(string $value = null, int $flags = 0, array $references = array())
Converts a YAML string to a PHP value.
static string
dump(mixed $value, int $flags = 0)
Dumps a given PHP variable to a YAML string.
static bool
isHash(array|ArrayObject|stdClass $value)
Check if given array is hash or just normal indexed array.
static mixed
parseScalar(string $scalar, int $flags = 0, array $delimiters = null, int $i = 0, bool $evaluate = true, array $references = array())
Parses a YAML scalar.
static string
evaluateBinaryScalar(string $scalar)
No description
Details
static
initialize(int $flags, int|null $parsedLineNumber = null, string|null $parsedFilename = null)
static mixed
parse(string $value = null, int $flags = 0, array $references = array())
Converts a YAML string to a PHP value.
static bool
isHash(array|ArrayObject|stdClass $value)
Check if given array is hash or just normal indexed array.