2016-01-27 14:35:59 -06:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* BalanceReportHelperInterface.php
|
2016-04-01 09:44:46 -05:00
|
|
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
2016-01-27 14:35:59 -06:00
|
|
|
*
|
2016-10-04 23:52:15 -05:00
|
|
|
* This software may be modified and distributed under the terms of the
|
|
|
|
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
|
|
|
*
|
|
|
|
* See the LICENSE file for details.
|
2016-01-27 14:35:59 -06:00
|
|
|
*/
|
|
|
|
|
2017-04-09 00:44:22 -05:00
|
|
|
declare(strict_types=1);
|
2016-05-20 05:27:31 -05:00
|
|
|
|
2016-01-27 14:35:59 -06:00
|
|
|
namespace FireflyIII\Helpers\Report;
|
|
|
|
|
|
|
|
use Carbon\Carbon;
|
|
|
|
use FireflyIII\Helpers\Collection\Balance;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface BalanceReportHelperInterface
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Helpers\Report
|
|
|
|
*/
|
|
|
|
interface BalanceReportHelperInterface
|
|
|
|
{
|
|
|
|
/**
|
2016-12-06 01:59:08 -06:00
|
|
|
* @param Collection $accounts
|
2016-01-27 14:35:59 -06:00
|
|
|
* @param Carbon $start
|
|
|
|
* @param Carbon $end
|
|
|
|
*
|
|
|
|
* @return Balance
|
|
|
|
*/
|
2016-12-06 01:59:08 -06:00
|
|
|
public function getBalanceReport(Collection $accounts, Carbon $start, Carbon $end): Balance;
|
2016-01-28 14:50:20 -06:00
|
|
|
}
|