You are here

public function OrderShipmentSummary::__construct in Commerce Shipping 8.2

Constructs a new OrderShipmentSummary object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\commerce_shipping\ShippingOrderManagerInterface $shipping_order_manager: The shipping order manager.

File

src/OrderShipmentSummary.php, line 38

Class

OrderShipmentSummary
Default implementation of the order shipment summary.

Namespace

Drupal\commerce_shipping

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ShippingOrderManagerInterface $shipping_order_manager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->shippingOrderManager = $shipping_order_manager;
}