mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-03 12:47:17 -06:00
36 lines
742 B
PHP
36 lines
742 B
PHP
<?php
|
|
/**
|
|
* ImportJobRepositoryInterface.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\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;
|
|
} |