More code for #159

This commit is contained in:
James Cole
2016-04-03 11:07:51 +02:00
parent 23cc7be231
commit 885b56c465
8 changed files with 92 additions and 9 deletions

View File

@@ -20,6 +20,19 @@ use Illuminate\Support\Collection;
interface AccountRepositoryInterface
{
/**
* Returns a list of transactions TO the $account, not including transfers
* and/or expenses in the $accounts list.
*
* @param Account $account
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
*
* @return Collection
*/
public function getExpensesByDestination(Account $account, Collection $accounts, Carbon $start, Carbon $end);
/**
* @param array $types
*