コード例 #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);
 }