2015-02-23 20:25:48 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FireflyIII\Helpers\Report;
|
|
|
|
|
|
|
|
use Carbon\Carbon;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface ReportHelperInterface
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Helpers\Report
|
|
|
|
*/
|
|
|
|
interface ReportHelperInterface
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
2015-03-10 19:57:20 +01:00
|
|
|
* This method gets some kind of list for a monthly overview.
|
|
|
|
*
|
2015-02-23 20:25:48 +01:00
|
|
|
* @param Carbon $date
|
2015-05-15 20:07:51 +02:00
|
|
|
* @param bool $includeShared
|
2015-02-23 20:25:48 +01:00
|
|
|
*
|
2015-03-10 19:57:20 +01:00
|
|
|
* @return Collection
|
2015-02-23 20:25:48 +01:00
|
|
|
*/
|
2015-05-15 20:07:51 +02:00
|
|
|
public function getBudgetsForMonth(Carbon $date, $includeShared = false);
|
2015-02-23 20:25:48 +01:00
|
|
|
|
2015-02-23 21:19:16 +01:00
|
|
|
/**
|
|
|
|
* @param Carbon $date
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
2015-03-10 19:57:20 +01:00
|
|
|
public function listOfMonths(Carbon $date);
|
2015-02-23 20:25:48 +01:00
|
|
|
|
2015-03-29 08:14:32 +02:00
|
|
|
}
|