mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-03 12:47:17 -06:00
58 lines
1.1 KiB
PHP
58 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* BudgetChartGeneratorInterface.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.
|
|
*/
|
|
|
|
namespace FireflyIII\Generator\Chart\Budget;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
/**
|
|
* Interface BudgetChartGeneratorInterface
|
|
*
|
|
* @package FireflyIII\Generator\Chart\Budget
|
|
*/
|
|
interface BudgetChartGeneratorInterface
|
|
{
|
|
/**
|
|
* @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 $entries
|
|
*
|
|
* @return array
|
|
*/
|
|
public function multiYear(Collection $entries);
|
|
|
|
/**
|
|
* @param Collection $budgets
|
|
* @param Collection $entries
|
|
*
|
|
* @return array
|
|
*/
|
|
public function year(Collection $budgets, Collection $entries);
|
|
|
|
}
|