New method to collect a users accounts by the given ids.

This commit is contained in:
James Cole
2016-02-04 08:53:15 +01:00
parent 5c3165efa2
commit 55e4875662
2 changed files with 23 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ use Illuminate\Support\Collection;
*/
interface AccountRepositoryInterface
{
/**
* @param array $types
*
@@ -41,6 +42,15 @@ interface AccountRepositoryInterface
*/
public function find($accountId);
/**
* Gets all the accounts by ID, for a given set.
*
* @param array $ids
*
* @return Collection
*/
public function get(array $ids);
/**
* @param array $types
*