exports = $exports; $this->transactions = $transactions; } /** * @throws BillingExportNotFound * @throws ExportNotDraft * @throws JobNotInDraft * @throws InvoicesCannotMerge */ public function execute(int $exportId, int $jobId, int $invoiceKey): void { $this->changeDraft($exportId, function (BillingExport $export) use ($jobId, $invoiceKey): void { $export->moveJob($jobId, $invoiceKey); }); } }