firefly-iii/app/Export/Collector/CollectorInterface.php
2016-04-06 16:37:28 +02:00

39 lines
698 B
PHP

<?php
declare(strict_types = 1);
/**
* 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.
*/
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);
}