mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-26 08:51:12 -06:00
51 lines
1.1 KiB
PHP
51 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* AccountChartGeneratorInterface.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\Account;
|
|
|
|
use Carbon\Carbon;
|
|
use FireflyIII\Models\Account;
|
|
use Illuminate\Support\Collection;
|
|
|
|
/**
|
|
* Interface AccountChartGeneratorInterface
|
|
*
|
|
* @package FireflyIII\Generator\Chart\Account
|
|
*/
|
|
interface AccountChartGeneratorInterface
|
|
{
|
|
|
|
/**
|
|
* @param Collection $accounts
|
|
* @param Carbon $start
|
|
* @param Carbon $end
|
|
*
|
|
* @return array
|
|
*/
|
|
public function expenseAccounts(Collection $accounts, Carbon $start, Carbon $end);
|
|
|
|
/**
|
|
* @param Collection $accounts
|
|
* @param Carbon $start
|
|
* @param Carbon $end
|
|
*
|
|
* @return array
|
|
*/
|
|
public function frontpage(Collection $accounts, Carbon $start, Carbon $end);
|
|
|
|
/**
|
|
* @param Account $account
|
|
* @param Carbon $start
|
|
* @param Carbon $end
|
|
*
|
|
* @return array
|
|
*/
|
|
public function single(Account $account, Carbon $start, Carbon $end);
|
|
}
|