/** * Parses YAML to array * * @param [string] $file Path to YAML file. * @return [array] $array */ function spycLoadFile($file) { $array = Spyc::yamlLoad($file); return $array; }