| METHODS | |
|---|---|
load()
| convert a YAML string to a PHP array. |
dump()
| dumps a given PHP variable to a YAML string. |
dumpArray()
| dumps a PHP array to a YAML string. |
parseScalar()
| parses a scalar to a YAML string. |
parseQuotedScalar()
| parses a quoted scalar to YAML. |
parseSequence()
| parses a sequence to a YAML string. |
parseMapping()
| parses a mapping to a YAML string. |
evaluateScalar()
| evaluates scalars and replaces magic values. |
getTimestampRegex()
| |
Convert a YAML string to a PHP array.
| ARGUMENTS | |
|---|---|
$value |
A YAML string |
returns A PHP array representing the YAML string
Dumps a given PHP variable to a YAML string.
| ARGUMENTS | |
|---|---|
$value |
The PHP variable to convert |
returns The YAML string representing the PHP array
Dumps a PHP array to a YAML string.
| ARGUMENTS | |
|---|---|
$value |
The PHP array to dump |
returns The YAML string representing the PHP array
Parses a scalar to a YAML string.
| ARGUMENTS |
|---|
returns A YAML string
Parses a quoted scalar to YAML.
| ARGUMENTS |
|---|
returns A YAML string
Parses a sequence to a YAML string.
| ARGUMENTS |
|---|
returns A YAML string
Parses a mapping to a YAML string.
| ARGUMENTS |
|---|
returns A YAML string
Evaluates scalars and replaces magic values.
| ARGUMENTS |
|---|
returns A YAML string
