1 | <?php |
||
22 | class OrderShipmentFactory implements OrderShipmentFactoryInterface |
||
23 | { |
||
24 | /** |
||
25 | * Shipment repository. |
||
26 | * |
||
27 | * @var FactoryInterface |
||
28 | */ |
||
29 | protected $shipmentFactory; |
||
30 | |||
31 | /** |
||
32 | * Constructor. |
||
33 | * |
||
34 | * @param FactoryInterface $shipmentFactory |
||
35 | */ |
||
36 | public function __construct(FactoryInterface $shipmentFactory) |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function createForOrder(OrderInterface $order) |
||
59 | } |
||
60 |