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

56 lines
1.1 KiB
PHP
Raw Normal View History

2015-06-27 04:44:18 -05:00
<?php
2016-02-05 05:08:25 -06:00
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.
*/
2015-06-27 04:44:18 -05:00
namespace FireflyIII\Generator\Chart\Report;
use Illuminate\Support\Collection;
/**
* Interface ReportChartGeneratorInterface
2015-06-27 04:44:18 -05:00
*
* @package FireflyIII\Generator\Chart\Report
*/
interface ReportChartGeneratorInterface
2015-06-27 04:44:18 -05:00
{
/**
* @param Collection $entries
*
* @return array
*/
public function multiYearInOut(Collection $entries);
2015-06-27 04:44:18 -05:00
/**
* @param string $income
* @param string $expense
* @param int $count
*
* @return array
*/
2016-02-05 02:25:15 -06:00
public function multiYearInOutSummarized(string $income, string $expense, int $count);
2015-12-18 09:38:50 -06:00
/**
* @param Collection $entries
*
* @return array
*/
public function yearInOut(Collection $entries);
2015-06-27 04:44:18 -05:00
/**
* @param string $income
* @param string $expense
* @param int $count
*
* @return array
*/
2016-02-05 02:25:15 -06:00
public function yearInOutSummarized(string $income, string $expense, int $count);
2015-06-28 01:24:12 -05:00
}