You are here

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\Event

Code

public function __construct(OrderInterface $order, ShipmentInterface $shipment) {
  $this->order = $order;
  $this->shipment = $shipment;
}