You are here

public function OrderCommentAddedEvent::__construct in Ubercart 8.4

Constructs the object.

Parameters

\Drupal\uc_order\OrderInterface $order: The order object.

File

uc_order/src/Event/OrderCommentAddedEvent.php, line 28

Class

OrderCommentAddedEvent
Event that is fired when an order comment is added.

Namespace

Drupal\uc_order\Event

Code

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