Files
firefly-iii/app/Import/Importer/ImporterInterface.php

39 lines
754 B
PHP
Raw Normal View History

2016-06-10 21:00:00 +02:00
<?php
/**
* ImporterInterface.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
2016-06-10 21:00:00 +02:00
*/
declare(strict_types = 1);
namespace FireflyIII\Import\Importer;
2016-08-26 08:21:31 +02:00
use FireflyIII\Models\ImportJob;
use Illuminate\Support\Collection;
2016-06-10 21:00:00 +02:00
/**
* Interface ImporterInterface
*
* @package FireflyIII\Import\Importer
*/
2016-06-10 21:00:00 +02:00
interface ImporterInterface
{
/**
* Run the actual import
*
* @return Collection
*/
public function createImportEntries(): Collection;
2016-07-15 22:26:08 +02:00
/**
* @param ImportJob $job
*
*/
public function setJob(ImportJob $job);
2016-08-12 15:10:03 +02:00
}