'box_code', 'code_ede' => 'ede_code', 'date_de_ponte' => 'laying_date', 'date_emballage' => 'packing_date', 'code_produit' => 'product_code', 'lib_produit' => 'product_label', 'lot_externe' => 'external_lot', 'dcr' => 'dcr', 'ean_13' => 'ean_13' ]; /** * The columns allowed to be null * * @var array */ protected $nullableFields = []; /** * Fields that are unique * * @var array */ protected $uniqueKeyField = []; /** * Execute the job. * * @return void */ public function handle() { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed $this->parseData('ML', TraceaEgg::class, null, function ($uniqueColumnsKey, $line) { TraceaEgg::insert($line); }); } }