class CurrencyJSONController extends Controller

Class CurrencyController. Defines routes for RatioStorage

Methods

JsonResponse
getAllCurrenciesAction(ArrayCollection $currencyList)

API route for listing currencies

JsonResponse
addCurrencyAction(ArrayCollection $currencyJSON)

API route for adding new currency

JsonResponse
deleteCurrenciesAction(ArrayCollection $currencyDeleteJSON)

Api route for deleting currency

JsonResponse
editCurrencyAction(ArrayCollection $currencyEditJSON)

API route for editing currencies

Details

at line 35
JsonResponse getAllCurrenciesAction(ArrayCollection $currencyList)

API route for listing currencies

Parameters

ArrayCollection $currencyList

Return Value

JsonResponse

See also

CurrencyListConverter

at line 50
JsonResponse addCurrencyAction(ArrayCollection $currencyJSON)

API route for adding new currency

Parameters

ArrayCollection $currencyJSON

Return Value

JsonResponse

See also

CurrencyJSONConverter

at line 65
JsonResponse deleteCurrenciesAction(ArrayCollection $currencyDeleteJSON)

Api route for deleting currency

Parameters

ArrayCollection $currencyDeleteJSON

Return Value

JsonResponse

See also

CurrencyDeleteJSONConverter

at line 80
JsonResponse editCurrencyAction(ArrayCollection $currencyEditJSON)

API route for editing currencies

Parameters

ArrayCollection $currencyEditJSON

Return Value

JsonResponse

See also

CurrencyEditJSONConverter