public function CheckoutCompletionRegisterEvent::__construct in Commerce Core 8.2
Constructs a new CheckoutCompletionRegisterEvent object.
Parameters
\Drupal\Core\Session\AccountInterface $account: The created account.
\Drupal\commerce_order\Entity\OrderInterface $order: The checkout order.
File
- modules/
checkout/ src/ Event/ CheckoutCompletionRegisterEvent.php, line 46
Class
- CheckoutCompletionRegisterEvent
- Defines the checkout completion register event.
Namespace
Drupal\commerce_checkout\EventCode
public function __construct(AccountInterface $account, OrderInterface $order) {
$this->account = $account;
$this->order = $order;
}