| 1 | <?php |
||
| 10 | final class AdjustmentViewFactory implements AdjustmentViewFactoryInterface |
||
| 11 | { |
||
| 12 | /** @var PriceViewFactoryInterface */ |
||
| 13 | private $priceViewFactory; |
||
| 14 | |||
| 15 | /** @var string */ |
||
| 16 | private $adjustmentViewClass; |
||
| 17 | |||
| 18 | public function __construct(PriceViewFactoryInterface $priceViewFactory, string $adjustmentViewClass) |
||
| 23 | |||
| 24 | public function create(AdjustmentInterface $adjustment, int $additionalAmount, string $currency): AdjustmentView |
||
| 34 | } |
||
| 35 |