You are here

public function NotifyReminderEvent::__construct in Ubercart 8.4

Constructs the object.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user.

array $expiration: The expiration.

File

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

Class

NotifyReminderEvent
Event that is fired when a user role is close to expiring.

Namespace

Drupal\uc_role\Event

Code

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