Move CRUD method count() to account repository

This commit is contained in:
James Cole
2016-10-09 08:18:47 +02:00
parent 3f40751a1a
commit 1d2d3523d6
6 changed files with 27 additions and 23 deletions

View File

@@ -26,6 +26,14 @@ use Illuminate\Support\Collection;
*/
interface AccountRepositoryInterface
{
/**
* Moved here from account CRUD.
*
* @param array $types
*
* @return int
*/
public function count(array $types): int;
/**
* This method will call AccountRepositoryInterface::journalsInPeriod and get all withdrawaks made from the given $accounts,