<?php
namespace elzix\CurrencyConverter;

interface CurrencyConverterInterface
{
    /**
     * Converts currency from one to another
     *
     * @param array|string   $from
     * @param array|string   $to
     * @param float optional $amount
     *
     * @return float
     */
    public function convert($api, $from, $to, $amount = 1);  
}
