You are here

public function NotifyRenewEvent::__construct in Ubercart 8.4

Constructs the object.

Parameters

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

array $expiration: The expiration.

File

uc_role/src/Event/NotifyRenewEvent.php, line 37

Class

NotifyRenewEvent
Event that is fired when a user role is renewed.

Namespace

Drupal\uc_role\Event

Code

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