firefly-iii/app/lib/FireflyIII/Report/ReportInterface.php
2014-12-07 15:37:53 +01:00

42 lines
701 B
PHP

<?php
namespace FireflyIII\Report;
use Carbon\Carbon;
/**
* Interface ReportInterface
*
* @package FireflyIII\Report
*/
interface ReportInterface
{
/**
* @param Carbon $date
* @param string $direction
*
* @return mixed
*/
public function groupByRevenue(Carbon $date, $direction = 'income');
/**
* @param Carbon $start
*
* @return array
*/
public function listOfMonths(Carbon $start);
/**
* @param Carbon $start
*
* @return array
*/
public function listOfYears(Carbon $start);
/**
* @param Carbon $date
*
* @return array
*/
public function yearBalanceReport(Carbon $date);
}