Moved findByAccountNumber

This commit is contained in:
James Cole
2016-10-10 07:14:01 +02:00
parent 8ef7c5ac33
commit d1b56c2afa
6 changed files with 37 additions and 38 deletions

View File

@@ -50,6 +50,14 @@ interface AccountRepositoryInterface
*/
public function find(int $accountId): Account;
/**
* @param string $number
* @param array $types
*
* @return Account
*/
public function findByAccountNumber(string $number, array $types): Account;
/**
* Returns the date of the very first transaction in this account.
*