2015-06-27 04:44:18 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FireflyIII\Generator\Chart\Report;
|
|
|
|
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface ReportChartGenerator
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Generator\Chart\Report
|
|
|
|
*/
|
|
|
|
interface ReportChartGenerator
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param Collection $entries
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
2015-12-14 14:11:26 -06:00
|
|
|
public function multiYearInOut(Collection $entries);
|
2015-06-27 04:44:18 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $income
|
|
|
|
* @param string $expense
|
|
|
|
* @param int $count
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
2015-12-18 09:38:50 -06:00
|
|
|
public function multiYearInOutSummarized($income, $expense, $count);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param Collection $entries
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function yearInOut(Collection $entries);
|
2015-06-27 04:44:18 -05:00
|
|
|
|
2015-12-14 14:11:26 -06:00
|
|
|
/**
|
|
|
|
* @param string $income
|
|
|
|
* @param string $expense
|
|
|
|
* @param int $count
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
2015-12-18 09:38:50 -06:00
|
|
|
public function yearInOutSummarized($income, $expense, $count);
|
2015-12-14 14:11:26 -06:00
|
|
|
|
2015-06-28 01:24:12 -05:00
|
|
|
}
|