/** * Parses YAML to array. * @param string $file Path to YAML file. * @return array */ function spyc_load_file($file) { return Joy_File_Reader_Yaml_Helper::YAMLLoad($file); }
public function toArray() { return Joy_File_Reader_Yaml_Helper::YAMLLoad($this->_file); }