firefly-iii/app/Generator/Chart/Account/AccountChartGenerator.php

53 lines
1.1 KiB
PHP
Raw Normal View History

<?php
namespace FireflyIII\Generator\Chart\Account;
2015-06-27 04:44:18 -05:00
use Carbon\Carbon;
2015-06-27 01:38:27 -05:00
use FireflyIII\Models\Account;
use Illuminate\Support\Collection;
/**
* Interface AccountChartGenerator
*
* @package FireflyIII\Generator\Chart\Account
*/
interface AccountChartGenerator
{
/**
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
*
* @return array
*/
public function all(Collection $accounts, Carbon $start, Carbon $end);
2015-06-27 01:38:27 -05:00
/**
* @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);
/**
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
*
* @return array
*/
public function expenseAccounts(Collection $accounts, Carbon $start, Carbon $end);
2015-06-28 01:24:12 -05:00
}