lib/BlockCypher/Core/BlockCypherCoinSymbolConstants.php
public static function getCoinSymbolFrom($code, $network)
    {
        foreach (self::COIN_SYMBOL_MAPPINGS() as $coinSymbol => $coinSymbolMapping) {
            if ($coinSymbolMapping['blockcypher_code'] == $code &&
                $coinSymbolMapping['blockcypher_network'] == $network
            ) {
                // Found
                return $coinSymbol;
            }
        }
        return null;
    }
public static function getCoinSymbolFrom($code, $network)
    {
        foreach (self::COIN_SYMBOL_MAPPINGS() as $coinSymbol => $coinSymbolMapping) {
            if ($coinSymbolMapping['blockcypher_code'] == $code &&
                $coinSymbolMapping['blockcypher_network'] == $network
            ) {
                // Found
                return $coinSymbol;
            }
        }
        return null;
    }
public static function getCoinSymbolFrom ( $ code , $ network ) { foreach ( self :: COIN_SYMBOL_MAPPINGS ( ) as $ coinSymbol => $ coinSymbolMapping ) { if ( $ coinSymbolMapping [ 'blockcypher_code' ] == $ code && $ coinSymbolMapping [ 'blockcypher_network' ] == $ network ) { // Found return $ coinSymbol ; } } return null ; }
Reverse mapping.
@param $code
@param $network
@return string|null
Reverse mapping .