2016-06-10 14:00:00 -05:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* ImportJobRepositoryInterface.php
|
|
|
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
|
|
|
*
|
2016-10-04 23:52:15 -05:00
|
|
|
* 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 14:00:00 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
declare(strict_types = 1);
|
|
|
|
|
|
|
|
namespace FireflyIII\Repositories\ImportJob;
|
|
|
|
|
|
|
|
use FireflyIII\Models\ImportJob;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface ImportJobRepositoryInterface
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Repositories\ImportJob
|
|
|
|
*/
|
|
|
|
interface ImportJobRepositoryInterface
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @param string $fileType
|
|
|
|
*
|
|
|
|
* @return ImportJob
|
|
|
|
*/
|
|
|
|
public function create(string $fileType): ImportJob;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $key
|
|
|
|
*
|
|
|
|
* @return ImportJob
|
|
|
|
*/
|
|
|
|
public function findByKey(string $key): ImportJob;
|
2016-08-12 08:10:03 -05:00
|
|
|
}
|