/** * Saves the payload */ public function SavePayload() { if ($this->payload != null) { JsonWriter::Write(PathFinder::RealPath("Json/resource/generated_groups.json"), $this->payload); } }
/** * Write that log. */ public function WriteLog() { JsonWriter::Write(PathFinder::RealPath("/Json/resource/install_log.json"), Install::$log); }