You are here

public function OrderAssignEvent::getCustomer in Commerce Core 8.2

Gets the customer.

Return value

\Drupal\user\UserInterface The customer.

1 call to OrderAssignEvent::getCustomer()
OrderAssignEvent::getAccount in modules/order/src/Event/OrderAssignEvent.php
Gets the user account.

File

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

Class

OrderAssignEvent
Defines the order assign event.

Namespace

Drupal\commerce_order\Event

Code

public function getCustomer() {
  return $this->customer;
}