| 1 | <?php |
||
| 19 | return new class($ratio) implements ExchangeRateProviderInterface |
||
| 20 | { |
||
| 21 | private $ratio; |
||
| 22 | |||
| 23 | public function __construct(float $ratio) |
||
| 27 | |||
| 28 | public function getExchangeRate(CurrencyInterface $sourceCurrency, CurrencyInterface $targetCurrency, DateTimeInterface $date = null): ExchangeRateInterface |
||
| 32 | |||
| 33 | }; |
||
| 34 | } |
||
| 45 | } |