You are here

public function CheckoutCompletionRegisterEvent::getAccount in Commerce Core 8.2

Gets the created account.

Return value

\Drupal\Core\Session\AccountInterface The created account.

File

modules/checkout/src/Event/CheckoutCompletionRegisterEvent.php, line 57

Class

CheckoutCompletionRegisterEvent
Defines the checkout completion register event.

Namespace

Drupal\commerce_checkout\Event

Code

public function getAccount() {
  return $this->account;
}