src/Iso3166.php
public static function get($code)
    {
        try {
            return static::getByAlpha2($code);
        } catch (OutOfBoundsException $e) {
            try {
                return static::getByAlpha3($code);
            } catch (OutOfBoundsException $e) {
                try {
                    return static::getByNumeric3($code);
                } catch (OutOfBoundsException $e) {
                    throw new OutOfBoundsException("The code \"{$code}\" is not listed in ISO 4217");
                }
            }
        }
    }
public static function get($code)
    {
        try {
            return static::getByAlpha2($code);
        } catch (OutOfBoundsException $e) {
            try {
                return static::getByAlpha3($code);
            } catch (OutOfBoundsException $e) {
                try {
                    return static::getByNumeric3($code);
                } catch (OutOfBoundsException $e) {
                    throw new OutOfBoundsException("The code \"{$code}\" is not listed in ISO 4217");
                }
            }
        }
    }
public static function get ( $ code ) { try { return static :: getByAlpha2 ( $ code ) ; } catch ( OutOfBoundsException $ e ) { try { return static :: getByAlpha3 ( $ code ) ; } catch ( OutOfBoundsException $ e ) { try { return static :: getByNumeric3 ( $ code ) ; } catch ( OutOfBoundsException $ e ) { throw new OutOfBoundsException ( "The code \"{$code}\" is not listed in ISO 4217" ) ; } } } }
Try all methods for a result.

@param mixed $code
@return array
Try all methods for a result .