First version that supports Spectre.

This commit is contained in:
James Cole
2018-01-08 20:20:45 +01:00
parent a57554d380
commit 2edd49a8b4
9 changed files with 279 additions and 14 deletions

View File

@@ -311,4 +311,30 @@ class ImportJobRepository implements ImportJobRepositoryInterface
{
return $job->uploadFileContents();
}
/**
* @param ImportJob $job
* @param int $count
*
* @return ImportJob
*/
public function setStepsDone(ImportJob $job, int $steps): ImportJob
{
$job->setStepsDone($steps);
return $job;
}
/**
* @param ImportJob $job
* @param int $count
*
* @return ImportJob
*/
public function setTotalSteps(ImportJob $job, int $count): ImportJob
{
$job->setTotalSteps($count);
return $job;
}
}