/**
  * AttachmentCollector constructor.
  *
  * @param ExportJob $job
  */
 public function __construct(ExportJob $job)
 {
     /** @var AttachmentRepositoryInterface repository */
     $this->repository = app(AttachmentRepositoryInterface::class);
     // make storage:
     $this->uploadDisk = Storage::disk('upload');
     $this->exportDisk = Storage::disk('export');
     parent::__construct($job);
 }
 /**
  *
  * AttachmentCollector constructor.
  *
  * @param ExportJob $job
  */
 public function __construct(ExportJob $job)
 {
     parent::__construct($job);
     Log::debug('Going to collect attachments', ['key' => $job->key]);
     // make storage:
     $this->uploadDisk = Storage::disk('upload');
     $this->exportDisk = Storage::disk('export');
     // file names associated with the old import routine.
     $this->expected = 'csv-upload-' . auth()->user()->id . '-';
     // for the new import routine:
     $this->getImportKeys();
 }