You are here

public function PrivateMessageUpdateUnreadThreadCountCommand::__construct in Private Message 8.2

Same name and namespace in other branches
  1. 8 src/Ajax/PrivateMessageUpdateUnreadThreadCountCommand.php \Drupal\private_message\Ajax\PrivateMessageUpdateUnreadThreadCountCommand::__construct()

Constructs a PrivateMessageMembersAutocompleteResponseCommand object.

Parameters

int $unreadThreadCount: The number of unread threads.

File

src/Ajax/PrivateMessageUpdateUnreadThreadCountCommand.php, line 25

Class

PrivateMessageUpdateUnreadThreadCountCommand
Ajax command to update the number of unread threads.

Namespace

Drupal\private_message\Ajax

Code

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