public function ShipmentSaveEvent::__construct in Ubercart 8.4
Constructs the object.
Parameters
\Drupal\uc_order\OrderInterface $order: The order object.
\Drupal\uc_fulfillment\ShipmentInterface $shipment: The shipment.
File
- shipping/
uc_fulfillment/ src/ Event/ ShipmentSaveEvent.php, line 38
Class
- ShipmentSaveEvent
- Event that is fired when a shipment is saved.
Namespace
Drupal\uc_fulfillment\EventCode
public function __construct(OrderInterface $order, ShipmentInterface $shipment) {
$this->order = $order;
$this->shipment = $shipment;
}