Skip to content

Kirby 4.5.0

Yaml::decode()

Parses an encoded YAML string and returns a multi-dimensional array

Yaml::decode($string): array

Parameters

Name Type Default
$string * mixed

Return type

array

Parent class

Kirby\Data\Yaml