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

52 lines
1.2 KiB
PHP
Raw Normal View History

<?php
2016-02-05 05:08:25 -06:00
declare(strict_types = 1);
/**
* 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;
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 AccountChartGeneratorInterface
*
* @package FireflyIII\Generator\Chart\Account
*/
interface AccountChartGeneratorInterface
{
2015-06-27 01:38:27 -05:00
/**
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
*
* @return array
*/
2016-02-18 00:21:48 -06:00
public function expenseAccounts(Collection $accounts, Carbon $start, Carbon $end): array;
2015-06-27 01:38:27 -05:00
/**
2016-01-19 06:59:54 -06:00
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
2015-06-27 01:38:27 -05:00
*
* @return array
*/
2016-02-18 00:21:48 -06:00
public function frontpage(Collection $accounts, Carbon $start, Carbon $end): array;
/**
2016-01-19 06:59:54 -06:00
* @param Account $account
* @param Carbon $start
* @param Carbon $end
*
* @return array
*/
2016-02-18 00:21:48 -06:00
public function single(Account $account, Carbon $start, Carbon $end): array;
2015-06-28 01:24:12 -05:00
}