コード例 #1
0
ファイル: yaml_result.php プロジェクト: Railshot/EvolutionSDK
 public function __construct($file)
 {
     $this->{$file} = $file;
     $this->_data = $this->_objectize(Bundle::load($file, true));
     $modified = Bundle::last_modified($file);
     $this->_date_modified = date("Y-m-d h:i:s", $modified['yaml']);
     $this->_date_cached = date("Y-m-d h:i:s", $modified['cache']);
 }