Build import job API endpoint.

This commit is contained in:
James Cole
2018-12-08 08:22:53 +01:00
parent 00fb809ab9
commit 3b15415a1b
6 changed files with 289 additions and 4 deletions

View File

@@ -35,7 +35,6 @@ use Symfony\Component\HttpFoundation\File\UploadedFile;
*/
interface ImportJobRepositoryInterface
{
/**
* Add message to job.
*
@@ -77,6 +76,13 @@ interface ImportJobRepositoryInterface
*/
public function findByKey(string $key): ?ImportJob;
/**
* Return all import jobs.
*
* @return Collection
*/
public function get(): Collection;
/**
* Return all attachments for job.
*