Files
firefly-iii/app/Generator/Chart/Budget/BudgetChartGeneratorInterface.php

59 lines
1.1 KiB
PHP
Raw Normal View History

2015-06-27 11:44:18 +02:00
<?php
2016-02-05 12:08:25 +01:00
declare(strict_types = 1);
/**
* 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.
*/
2015-06-27 11:44:18 +02:00
namespace FireflyIII\Generator\Chart\Budget;
use Illuminate\Support\Collection;
/**
* Interface BudgetChartGeneratorInterface
2015-06-27 11:44:18 +02:00
*
* @package FireflyIII\Generator\Chart\Budget
*/
interface BudgetChartGeneratorInterface
2015-06-27 11:44:18 +02:00
{
/**
* @param Collection $entries
*
* @return array
*/
public function budget(Collection $entries);
/**
* @param Collection $entries
*
* @return array
*/
2015-12-18 16:38:50 +01:00
public function budgetLimit(Collection $entries);
2015-06-27 11:44:18 +02:00
/**
* @param Collection $entries
*
* @return array
*/
2015-12-18 16:38:50 +01:00
public function frontpage(Collection $entries);
2015-06-27 11:44:18 +02:00
/**
* @param Collection $entries
*
* @return array
*/
2015-12-18 16:38:50 +01:00
public function multiYear(Collection $entries);
2015-06-27 11:44:18 +02:00
/**
* @param Collection $budgets
* @param Collection $entries
*
* @return array
*/
public function year(Collection $budgets, Collection $entries);
2015-06-28 08:24:12 +02:00
}