mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-02 05:29:12 -06:00
d233a2df3c
* 'develop' of https://github.com/JC5/firefly-iii: Should fix frontpage. # Conflicts: # app/Models/TransactionJournal.php # app/Repositories/Account/AccountRepository.php
44 lines
1.0 KiB
PHP
44 lines
1.0 KiB
PHP
<?php
|
|
declare(strict_types = 1);
|
|
/**
|
|
* BudgetReportHelperInterface.php
|
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
|
*
|
|
* This software may be modified and distributed under the terms
|
|
* of the MIT license. See the LICENSE file for details.
|
|
*/
|
|
|
|
namespace FireflyIII\Helpers\Report;
|
|
|
|
|
|
use Carbon\Carbon;
|
|
use FireflyIII\Helpers\Collection\Budget as BudgetCollection;
|
|
use Illuminate\Support\Collection;
|
|
|
|
/**
|
|
* Interface BudgetReportHelperInterface
|
|
*
|
|
* @package FireflyIII\Helpers\Report
|
|
*/
|
|
interface BudgetReportHelperInterface
|
|
{
|
|
/**
|
|
* @param Carbon $start
|
|
* @param Carbon $end
|
|
* @param Collection $accounts
|
|
*
|
|
* @return BudgetCollection
|
|
*/
|
|
public function getBudgetReport(Carbon $start, Carbon $end, Collection $accounts): BudgetCollection;
|
|
|
|
/**
|
|
* @param Carbon $start
|
|
* @param Carbon $end
|
|
* @param Collection $accounts
|
|
*
|
|
* @return Collection
|
|
*/
|
|
public function getBudgetsWithExpenses(Carbon $start, Carbon $end, Collection $accounts): Collection;
|
|
|
|
}
|