CurrencyRepository
in
Interface CurrencyRepository
Table of Contents
- filterCurrencies() : Currencies
- Returns a filtered, sorted, paginated collection of currencies.
- getAllCurrencies() : Currencies
- Returns a collection of all currencies.
- getCurrenciesTotalCount() : int
- Returns the total count of filtered currencies.
- getCurrencyById() : Currency
- Returns a specific currency based on the given currency ID.
Methods
filterCurrencies()
Returns a filtered, sorted, paginated collection of currencies.
public
filterCurrencies(Filters $filters, Sorting $sorting, Pagination $pagination) : Currencies
Parameters
- $filters : Filters
- $sorting : Sorting
- $pagination : Pagination
Return values
Currencies —getAllCurrencies()
Returns a collection of all currencies.
public
getAllCurrencies() : Currencies
Return values
Currencies —getCurrenciesTotalCount()
Returns the total count of filtered currencies.
public
getCurrenciesTotalCount(Filters $filters) : int
Parameters
- $filters : Filters
Return values
int —getCurrencyById()
Returns a specific currency based on the given currency ID.
public
getCurrencyById(CurrencyId $currencyId) : Currency
Parameters
- $currencyId : CurrencyId