Files
oficial/app/common/Define/Money/Provider.php
2025-10-24 18:35:52 -03:00

18 lines
450 B
PHP

<?php
namespace Incoviba\Common\Define\Money;
use DateTimeInterface;
use Incoviba\Common\Implement\Exception\EmptyResponse;
interface Provider
{
/**
* @param string $money_symbol
* @param ?DateTimeInterface $dateTime = null
* @return float
* @throws EmptyResponse
*/
public function get(string $money_symbol, ?DateTimeInterface $dateTime = null): float;
public function supported(string $money_symbol): bool;
}