Files
firefly-iii/app/Repositories/ExportJob/ExportJobRepositoryInterface.php

40 lines
768 B
PHP
Raw Normal View History

2016-02-04 17:16:16 +01:00
<?php
2016-02-05 12:08:25 +01:00
declare(strict_types = 1);
2016-02-04 17:16:16 +01:00
/**
* ExportJobRepositoryInterface.php
2016-04-01 16:44:46 +02:00
* Copyright (C) 2016 thegrumpydictator@gmail.com
2016-02-04 17:16:16 +01:00
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
namespace FireflyIII\Repositories\ExportJob;
use FireflyIII\Models\ExportJob;
/**
* Interface ExportJobRepositoryInterface
*
* @package FireflyIII\Repositories\ExportJob
*/
interface ExportJobRepositoryInterface
{
/**
* @return bool
*/
2016-04-05 22:00:03 +02:00
public function cleanup(): bool;
2016-02-04 17:16:16 +01:00
/**
* @return ExportJob
*/
2016-04-05 22:00:03 +02:00
public function create(): ExportJob;
2016-02-04 17:16:16 +01:00
/**
2016-02-05 09:25:15 +01:00
* @param string $key
2016-02-04 17:16:16 +01:00
*
* @return ExportJob|null
*/
2016-04-05 22:00:03 +02:00
public function findByKey(string $key): ExportJob;
2016-02-04 17:16:16 +01:00
2016-02-10 16:01:18 +01:00
}