yaml::read($file)

Reads and parses a yaml file and returns the array

  • $file (string)
  • return (array)