���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/luckymerchan/vendor/brick/money/src/Exception/ |
<?php declare(strict_types=1); namespace Brick\Money\Exception; /** * Exception thrown when attempting to create a Currency from an unknown currency code. */ class UnknownCurrencyException extends MoneyException { /** * @param string|int $currencyCode * * @return UnknownCurrencyException */ public static function unknownCurrency($currencyCode) : self { return new self('Unknown currency code: ' . $currencyCode); } /** * @param string $countryCode * * @return UnknownCurrencyException */ public static function noCurrencyForCountry(string $countryCode) : self { return new self('No currency found for country ' . $countryCode); } /** * @param string $countryCode * @param string[] $currencyCodes * * @return UnknownCurrencyException */ public static function noSingleCurrencyForCountry(string $countryCode, array $currencyCodes) : self { return new self('No single currency for country ' . $countryCode . ': ' . implode(', ', $currencyCodes)); } }