yaml::decode($yaml)

Parses a yaml string and returns the array

  • $yaml (string)
  • return (array)