You are here

public function CartOrderItemUpdateEvent::getCart in Commerce Core 8.2

Gets the cart order.

Return value

\Drupal\commerce_order\Entity\OrderInterface The cart order.

File

modules/cart/src/Event/CartOrderItemUpdateEvent.php, line 59

Class

CartOrderItemUpdateEvent
Defines the cart order item update event.

Namespace

Drupal\commerce_cart\Event

Code

public function getCart() {
  return $this->cart;
}