mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-19 04:49:30 +00:00
Cleanup account views, controllers and repositories.
This commit is contained in:
@@ -24,6 +24,16 @@ interface AccountRepositoryInterface
|
||||
*/
|
||||
public function createOrFind($name, \AccountType $type);
|
||||
|
||||
/**
|
||||
* Gets a list of accounts that have the mentioned type. Will automatically convert
|
||||
* strings in this array to actual (model) account types.
|
||||
*
|
||||
* @param array $types
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getOfTypes(array $types);
|
||||
|
||||
/**
|
||||
* @param $name
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user