mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-28 09:51:21 -06:00
200366f5be
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
35 lines
693 B
PHP
35 lines
693 B
PHP
<?php
|
|
/**
|
|
* ImporterInterface.php
|
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
|
*
|
|
* This software may be modified and distributed under the terms
|
|
* of the MIT license. See the LICENSE file for details.
|
|
*/
|
|
|
|
declare(strict_types = 1);
|
|
|
|
namespace FireflyIII\Import\Importer;
|
|
use FireflyIII\Models\ImportJob;
|
|
use Illuminate\Support\Collection;
|
|
|
|
/**
|
|
* Interface ImporterInterface
|
|
*
|
|
* @package FireflyIII\Import\Importer
|
|
*/
|
|
interface ImporterInterface
|
|
{
|
|
/**
|
|
* Run the actual import
|
|
*
|
|
* @return Collection
|
|
*/
|
|
public function createImportEntries(): Collection;
|
|
|
|
/**
|
|
* @param ImportJob $job
|
|
*
|
|
*/
|
|
public function setJob(ImportJob $job);
|
|
} |