Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class LatestExchangeRatesEndpoint extends AbstractBaseEndpoint |
||
15 | { |
||
16 | const ENDPOINT_URI = 'latest'; |
||
17 | |||
18 | /** |
||
19 | * Returns the latest spot price for the supported currencies. |
||
20 | * |
||
21 | * @param string $baseCurrency base currency alpha3 code (if different than EUR) |
||
22 | * @param array $symbols array of alpha3 codes to filter the response |
||
23 | * |
||
24 | * @return ResponseInterface |
||
25 | * @throws InvalidCurrencyCodeException |
||
26 | * @throws GuzzleException |
||
27 | */ |
||
28 | 6 | public function latest(string $baseCurrency = null, array $symbols = []): ResponseInterface |
|
47 |