mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 07:03:23 -06:00
56 lines
1.1 KiB
PHP
56 lines
1.1 KiB
PHP
<?php
|
|
declare(strict_types = 1);
|
|
/**
|
|
* ReportChartGenerator.php
|
|
* Copyright (C) 2016 Sander Dorigo
|
|
*
|
|
* This software may be modified and distributed under the terms
|
|
* of the MIT license. See the LICENSE file for details.
|
|
*/
|
|
|
|
namespace FireflyIII\Generator\Chart\Report;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
/**
|
|
* Interface ReportChartGeneratorInterface
|
|
*
|
|
* @package FireflyIII\Generator\Chart\Report
|
|
*/
|
|
interface ReportChartGeneratorInterface
|
|
{
|
|
|
|
/**
|
|
* @param Collection $entries
|
|
*
|
|
* @return array
|
|
*/
|
|
public function multiYearInOut(Collection $entries);
|
|
|
|
/**
|
|
* @param string $income
|
|
* @param string $expense
|
|
* @param int $count
|
|
*
|
|
* @return array
|
|
*/
|
|
public function multiYearInOutSummarized(string $income, string $expense, int $count);
|
|
|
|
/**
|
|
* @param Collection $entries
|
|
*
|
|
* @return array
|
|
*/
|
|
public function yearInOut(Collection $entries);
|
|
|
|
/**
|
|
* @param string $income
|
|
* @param string $expense
|
|
* @param int $count
|
|
*
|
|
* @return array
|
|
*/
|
|
public function yearInOutSummarized(string $income, string $expense, int $count);
|
|
|
|
}
|