count(); if ($exists > 0) { return null; } return new Booking([ 'master_awb' => $row[0], 'flight_number' => $row[1], 'departure' => $row[2], 'destination' => $row[3], 'jumlah_koli' => $row[4], 'kemasan' => $row[5], 'booked' => $row[6], 'used' => $row[7], ]); } public function startRow(): int { return 2; } public function uniqueBy() { return 'master_awb'; } }