yaml::encode($array)

Creates a new yaml string from an array

  • $array (array)
  • return (string)