예제 #1
0
파일: Helper.php 프로젝트: hisef/vpos4php
 /**
  * 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);
 }
예제 #2
0
파일: Yaml.php 프로젝트: hasanozgan/joy
 public function toArray()
 {
     return Joy_File_Reader_Yaml_Helper::YAMLLoad($this->_file);
 }