コード例 #1
0
 /**
  * Start download queue
  *
  * @param $job
  * @param $data
  */
 public function fire($job, $data)
 {
     $this->import->uploadPdfToS3AndCreateContracts($data['key']);
     $job->delete();
 }
コード例 #2
0
 /**
  * Delete Folder
  *
  * @param $key
  * @return \Illuminate\Http\RedirectResponse
  */
 public function delete($key)
 {
     $this->contractImport->deleteImportFolder($key);
     return redirect()->route('contract.import');
 }
コード例 #3
0
 /**
  * Start download queue
  *
  * @param $job
  * @param $data
  */
 public function fire($job, $data)
 {
     $this->import->download($data['import_key']);
     $job->delete();
 }