mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 06:43:23 +00:00
40 lines
699 B
PHP
40 lines
699 B
PHP
<?php
|
|
/**
|
|
* CollectorInterface.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\Export\Collector;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
/**
|
|
* Interface CollectorInterface
|
|
*
|
|
* @package FireflyIII\Export\Collector
|
|
*/
|
|
interface CollectorInterface
|
|
{
|
|
/**
|
|
* @return Collection
|
|
*/
|
|
public function getFiles(): Collection;
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function run(): bool;
|
|
|
|
/**
|
|
* @param Collection $files
|
|
*
|
|
*/
|
|
public function setFiles(Collection $files);
|
|
|
|
}
|