1 | <?php |
||
21 | class DefaultShippingMethodResolver implements DefaultShippingMethodResolverInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var ShippingMethodRepositoryInterface |
||
25 | */ |
||
26 | private $shippingMethodRepository; |
||
27 | |||
28 | /** |
||
29 | * @param ShippingMethodRepositoryInterface $shippingMethodRepository |
||
30 | */ |
||
31 | public function __construct(ShippingMethodRepositoryInterface $shippingMethodRepository) |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function getDefaultShippingMethod(ShipmentInterface $shipment) |
||
48 | } |
||
49 |