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

@@ -31,6 +31,7 @@ use Symfony\Component\HttpFoundation\File\UploadedFile;
*/
interface ImportJobRepositoryInterface
{
/**
* @param ImportJob $job
* @param int $steps
@@ -112,6 +113,22 @@ interface ImportJobRepositoryInterface
*/
public function setExtendedStatus(ImportJob $job, array $array): ImportJob;
/**
* @param ImportJob $job
* @param int $count
*
* @return ImportJob
*/
public function setStepsDone(ImportJob $job, int $steps): ImportJob;
/**
* @param ImportJob $job
* @param int $count
*
* @return ImportJob
*/
public function setTotalSteps(ImportJob $job, int $count): ImportJob;
/**
* @param User $user
*/