mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 07:08:19 +00:00
Create a fake routine, check for its progress.
This commit is contained in:
@@ -334,6 +334,20 @@ class ImportJobRepository implements ImportJobRepositoryInterface
|
||||
return $job;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ImportJob $job
|
||||
* @param string $stage
|
||||
*
|
||||
* @return ImportJob
|
||||
*/
|
||||
public function setStage(ImportJob $job, string $stage): ImportJob
|
||||
{
|
||||
$job->stage = $stage;
|
||||
$job->save();
|
||||
|
||||
return $job;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ImportJob $job
|
||||
* @param string $status
|
||||
|
||||
Reference in New Issue
Block a user