Add missing method to repository.

This commit is contained in:
James Cole
2025-03-08 05:51:50 +01:00
parent 605623a7af
commit 0bd0e6caeb
2 changed files with 11 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ use Illuminate\Support\Collection;
interface CurrencyRepositoryInterface
{
public function find(int $currencyId): ?TransactionCurrency;
public function searchCurrency(string $search, int $limit): Collection;
/**
* Find by currency code, return NULL if unfound.