You are here

public function OrderAssignEvent::__construct in Commerce Core 8.2

Constructs a new OrderAssignEvent.

Parameters

\Drupal\commerce_order\Entity\OrderInterface $order: The order.

\Drupal\user\UserInterface $customer: The customer.

File

modules/order/src/Event/OrderAssignEvent.php, line 38

Class

OrderAssignEvent
Defines the order assign event.

Namespace

Drupal\commerce_order\Event

Code

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