Files
firefly-iii/app/Generator/Chart/Report/ReportChartGeneratorInterface.php
T

55 lines
1.1 KiB
PHP
Raw Normal View History

2015-06-27 11:44:18 +02:00
<?php
2016-01-28 21:50:20 +01:00
/**
* 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.
*/
2015-06-27 11:44:18 +02:00
namespace FireflyIII\Generator\Chart\Report;
use Illuminate\Support\Collection;
/**
2016-01-28 21:50:20 +01:00
* Interface ReportChartGeneratorInterface
2015-06-27 11:44:18 +02:00
*
* @package FireflyIII\Generator\Chart\Report
*/
2016-01-28 21:50:20 +01:00
interface ReportChartGeneratorInterface
2015-06-27 11:44:18 +02:00
{
/**
* @param Collection $entries
*
* @return array
*/
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
/**
* @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-06-28 08:24:12 +02:00
}