2015-06-27 11:44:18 +02: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 21:11:26 +01:00
|
|
|
public function multiYearInOut(Collection $entries);
|
2015-06-27 11:44:18 +02:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param string $income
|
|
|
|
|
* @param string $expense
|
|
|
|
|
* @param int $count
|
|
|
|
|
*
|
|
|
|
|
* @return array
|
|
|
|
|
*/
|
2015-12-18 16:38:50 +01:00
|
|
|
public function multiYearInOutSummarized($income, $expense, $count);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param Collection $entries
|
|
|
|
|
*
|
|
|
|
|
* @return array
|
|
|
|
|
*/
|
|
|
|
|
public function yearInOut(Collection $entries);
|
2015-06-27 11:44:18 +02:00
|
|
|
|
2015-12-14 21:11:26 +01:00
|
|
|
/**
|
|
|
|
|
* @param string $income
|
|
|
|
|
* @param string $expense
|
|
|
|
|
* @param int $count
|
|
|
|
|
*
|
|
|
|
|
* @return array
|
|
|
|
|
*/
|
2015-12-18 16:38:50 +01:00
|
|
|
public function yearInOutSummarized($income, $expense, $count);
|
2015-12-14 21:11:26 +01:00
|
|
|
|
2015-06-28 08:24:12 +02:00
|
|
|
}
|