17 lines
375 B
PHP
17 lines
375 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
|
|
* @return float
|
|
* @throws EmptyResponse
|
|
*/
|
|
public function get(string $money_symbol, DateTimeInterface $dateTime): float;
|
|
}
|