CurrencyService
in package
Table of Contents
Properties
- $currencyRepository : CurrencyRepository
- $request : mixed
Methods
- __construct() : mixed
- getCurrencies() : array<string|int, mixed>
- Return CurrencyMapper object from repository
- getCurrency() : array<string|int, mixed>
- Return CurrencyMapper object from repositry
- getEuCurrencies() : mixed
Properties
$currencyRepository
private
CurrencyRepository
$currencyRepository
$request
private
mixed
$request
Methods
__construct()
public
__construct(Request $request, CurrencyRepository $currencyRepository) : mixed
Parameters
- $request : Request
- $currencyRepository : CurrencyRepository
getCurrencies()
Return CurrencyMapper object from repository
public
getCurrencies() : array<string|int, mixed>
Return values
array<string|int, mixed>getCurrency()
Return CurrencyMapper object from repositry
public
getCurrency(int $currencyId) : array<string|int, mixed>
Parameters
- $currencyId : int
-
Currency identification
Tags
Return values
array<string|int, mixed>getEuCurrencies()
public
getEuCurrencies() : mixed