1 | <?php |
||
22 | final class OrderExchangeRateAndCurrencyUpdater implements OrderUpdaterInterface |
||
23 | { |
||
24 | /** |
||
25 | * @var CurrencyContextInterface |
||
26 | */ |
||
27 | private $currencyContext; |
||
28 | |||
29 | /** |
||
30 | * @var RepositoryInterface |
||
31 | */ |
||
32 | private $currencyRepository; |
||
33 | |||
34 | /** |
||
35 | * @param CurrencyContextInterface $currencyContext |
||
36 | * @param RepositoryInterface $currencyRepository |
||
37 | */ |
||
38 | public function __construct(CurrencyContextInterface $currencyContext, RepositoryInterface $currencyRepository) |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function update(OrderInterface $order) |
||
55 | } |
||
56 |