From ad1ea642a56b7d5f41f7141172a94d1a9ca29d31 Mon Sep 17 00:00:00 2001 From: Joshua Estes Date: Mon, 5 Aug 2024 18:07:53 -0400 Subject: [PATCH] Updates to the currency provider --- .../CurrencyProvider/CurrencyProvider.php | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/SonsOfPHP/Component/Money/CurrencyProvider/CurrencyProvider.php b/src/SonsOfPHP/Component/Money/CurrencyProvider/CurrencyProvider.php index 9d1edd2f..4e4433a0 100644 --- a/src/SonsOfPHP/Component/Money/CurrencyProvider/CurrencyProvider.php +++ b/src/SonsOfPHP/Component/Money/CurrencyProvider/CurrencyProvider.php @@ -15,7 +15,24 @@ final class CurrencyProvider extends AbstractCurrencyProvider { public function getCurrencies(): iterable { - // @todo Add all the currencies + yield Currency::AED(784, 2); + yield Currency::AFN(971, 2); + yield Currency::ALL(8, 2); + yield Currency::AMD(51, 2); + yield Currency::ANG(532, 2); + yield Currency::AOA(973, 2); + yield Currency::ARS(32, 2); + yield Currency::AUD(36, 2); + yield Currency::AWG(533, 2); + yield Currency::AZN(944, 2); + + yield Currency::CAD(124, 2); + yield Currency::CHF(756, 2); + yield Currency::CNY(156, 2); + yield Currency::EUR(978, 2); + yield Currency::JPY(392, 0); + yield Currency::RUB(643, 0); yield Currency::USD(840, 2); + yield Currency::USN(997, 2); } }