mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Improve code quality for Export directory.
This commit is contained in:
@@ -33,26 +33,36 @@ use Illuminate\Support\Collection;
|
||||
interface ExporterInterface
|
||||
{
|
||||
/**
|
||||
* Get entries.
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getEntries(): Collection;
|
||||
|
||||
/**
|
||||
* Get file name.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getFileName(): string;
|
||||
|
||||
/**
|
||||
* Run exporter.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function run(): bool;
|
||||
|
||||
/**
|
||||
* Set entries.
|
||||
*
|
||||
* @param Collection $entries
|
||||
*/
|
||||
public function setEntries(Collection $entries);
|
||||
|
||||
/**
|
||||
* Set job.
|
||||
*
|
||||
* @param ExportJob $job
|
||||
*/
|
||||
public function setJob(ExportJob $job);
|
||||
|
Reference in New Issue
Block a user