mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00:00
Expanded import routine.
This commit is contained in:
@@ -21,12 +21,12 @@ use Illuminate\Support\Collection;
|
||||
*/
|
||||
interface FileProcessorInterface
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* FileProcessorInterface constructor.
|
||||
*
|
||||
* @param ImportJob $job
|
||||
* @return Collection
|
||||
*/
|
||||
public function __construct(ImportJob $job);
|
||||
public function getObjects(): Collection;
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
@@ -34,7 +34,9 @@ interface FileProcessorInterface
|
||||
public function run(): bool;
|
||||
|
||||
/**
|
||||
* @return Collection
|
||||
* @param ImportJob $job
|
||||
*
|
||||
* @return FileProcessorInterface
|
||||
*/
|
||||
public function getObjects(): Collection;
|
||||
public function setJob(ImportJob $job): FileProcessorInterface;
|
||||
}
|
Reference in New Issue
Block a user