$row['coursename'], 'institute' => $row['university'], 'campuses' => $row['campus'], 'level' => $row['level'], 'department' => $row['department'], 'length' => $row['courselength'], 'intakes' => $row['intake'], 'toefl' => $row['toefl'], 'ielts' => $row['ielts'], 'duolingo' => $row['duolingo'], 'pte' => $row['pte'], 'tuitionfee' => $row['tuitionfee'], 'scholarship' => $row['scholarship'], 'depositrequired' => $row['depositrequired'], 'reference' => $row['reference'], 'sop' => $row['sop'], 'cv' => $row['cv'], 'entryrequirement' => $row['entryrequirement'], 'tags' => $row['tags'], ]; array_push($this->imported_list, $insertArray); } public function getImportedRows() { return $this->imported_list; } public function onError(\Throwable $e) { return res_msg('File import failed!', 403); } public function batchSize(): int { return 100; } public function chunkSize(): int { return 100; } }