You are here

public function DeliveryCandidate::__construct in Message Subscribe 8

Constructs the delivery candidate.

Parameters

string[] $flags: An array of flag IDs.

string[] $notifiers: An array of notifier IDs.

int $uid: The delivery candidate account ID.

File

src/Subscribers/DeliveryCandidate.php, line 41

Class

DeliveryCandidate
A delivery candidate implementation.

Namespace

Drupal\message_subscribe\Subscribers

Code

public function __construct(array $flags, array $notifiers, $uid) {
  $this->flags = array_combine($flags, $flags);
  $this->notifiers = array_combine($notifiers, $notifiers);
  $this->uid = $uid;
}