mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
53 lines
1.1 KiB
PHP
53 lines
1.1 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* ReportGeneratorInterface.php
|
||
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
||
|
*
|
||
|
* 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.
|
||
|
*/
|
||
|
|
||
|
declare(strict_types = 1);
|
||
|
|
||
|
namespace FireflyIII\Generator\Report;
|
||
|
|
||
|
|
||
|
use Carbon\Carbon;
|
||
|
use Illuminate\Support\Collection;
|
||
|
|
||
|
/**
|
||
|
* Interface ReportGeneratorInterface
|
||
|
*
|
||
|
* @package FireflyIII\Generator\Report
|
||
|
*/
|
||
|
interface ReportGeneratorInterface
|
||
|
{
|
||
|
/**
|
||
|
* @return string
|
||
|
*/
|
||
|
public function generate(): string;
|
||
|
|
||
|
/**
|
||
|
* @param Collection $accounts
|
||
|
*
|
||
|
* @return ReportGeneratorInterface
|
||
|
*/
|
||
|
public function setAccounts(Collection $accounts): ReportGeneratorInterface;
|
||
|
|
||
|
/**
|
||
|
* @param Carbon $date
|
||
|
*
|
||
|
* @return ReportGeneratorInterface
|
||
|
*/
|
||
|
public function setEndDate(Carbon $date): ReportGeneratorInterface;
|
||
|
|
||
|
/**
|
||
|
* @param Carbon $date
|
||
|
*
|
||
|
* @return ReportGeneratorInterface
|
||
|
*/
|
||
|
public function setStartDate(Carbon $date): ReportGeneratorInterface;
|
||
|
|
||
|
}
|