src/Currency.php
protected function getCurrencyFromIsoCode($isoCode)
    {
        $this->prepareCurrencies();

        $isoCode = strtolower($isoCode);

        if (!array_key_exists($isoCode, self::$currencies)) {
            throw new UnknownCurrencyException('Currency with '.$isoCode.' iso code does not exist!');
        }

        return self::$currencies[$isoCode];
    }
protected function getCurrencyFromIsoCode($isoCode)
    {
        $this->prepareCurrencies();

        $isoCode = strtolower($isoCode);

        if (!array_key_exists($isoCode, self::$currencies)) {
            throw new UnknownCurrencyException('Currency with '.$isoCode.' iso code does not exist!');
        }

        return self::$currencies[$isoCode];
    }
protected function getCurrencyFromIsoCode ( $ isoCode ) { $ this -> prepareCurrencies ( ) ; $ isoCode = strtolower ( $ isoCode ) ; if ( ! array_key_exists ( $ isoCode , self :: $ currencies ) ) { throw new UnknownCurrencyException ( 'Currency with ' . $ isoCode . ' iso code does not exist!' ) ; } return self :: $ currencies [ $ isoCode ] ; }
Loads currency information from preloaded data by ISO index

@param $isoCode

@return array
@throws \Keios\MoneyRight\Exceptions\UnknownCurrencyException
Loads currency information from preloaded data by ISO index