| Total Complexity | 14 |
| Total Lines | 68 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class CurrencyWebservice |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Return random value here for basic currencies like GBP USD EUR (simulates real API) |
||
| 21 | * @param string $originalCurrency |
||
| 22 | * @param string $targetCurrency |
||
| 23 | * |
||
| 24 | * @return float |
||
| 25 | */ |
||
| 26 | public function getExchangeRate($originalCurrency, $targetCurrency) |
||
| 85 | } |
||
| 86 | } |