2015-06-27 01:18:47 -05:00
|
|
|
<?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;
|
2015-06-27 01:18:47 -05:00
|
|
|
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);
|
2015-06-27 01:18:47 -05:00
|
|
|
}
|