mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 14:41:20 +00:00
New method to collect a users accounts by the given ids.
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user