public static function commitFile() { self::writeDatas(); self::$file = ''; self::$publisher = ''; self::$datas = array(); }