| 1 | <?php |
||
| 17 | class ConvertMoneyHelper extends Helper implements ConvertMoneyHelperInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var CurrencyConverterInterface |
||
| 21 | */ |
||
| 22 | private $currencyConverter; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param CurrencyConverterInterface $currencyConverter |
||
| 26 | */ |
||
| 27 | public function __construct(CurrencyConverterInterface $currencyConverter) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function convertAmount($amount, $sourceCurrencyCode, $targetCurrencyCode) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | public function getName() |
||
| 47 | } |
||
| 48 |