mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-27 17:31:09 -06:00
48 lines
888 B
PHP
48 lines
888 B
PHP
<?php
|
|
|
|
namespace FireflyIII\Generator\Chart\Report;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
/**
|
|
* Interface ReportChartGenerator
|
|
*
|
|
* @package FireflyIII\Generator\Chart\Report
|
|
*/
|
|
interface ReportChartGenerator
|
|
{
|
|
|
|
/**
|
|
* @param Collection $entries
|
|
*
|
|
* @return array
|
|
*/
|
|
public function multiYearInOut(Collection $entries);
|
|
|
|
/**
|
|
* @param string $income
|
|
* @param string $expense
|
|
* @param int $count
|
|
*
|
|
* @return array
|
|
*/
|
|
public function multiYearInOutSummarized($income, $expense, $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($income, $expense, $count);
|
|
|
|
}
|