2015-06-27 04:44:18 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FireflyIII\Generator\Chart\Budget;
|
|
|
|
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface BudgetChartGenerator
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Generator\Chart\Budget
|
|
|
|
*/
|
|
|
|
interface BudgetChartGenerator
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @param Collection $entries
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function budget(Collection $entries);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param Collection $entries
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function budgetLimit(Collection $entries);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param Collection $entries
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function frontpage(Collection $entries);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param Collection $budgets
|
|
|
|
* @param Collection $entries
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function year(Collection $budgets, Collection $entries);
|
|
|
|
|
2015-06-28 01:24:12 -05:00
|
|
|
}
|