You are here

public function PrivateMessageThreadManager::__construct in Private Message 8

Same name and namespace in other branches
  1. 8.2 src/Service/PrivateMessageThreadManager.php \Drupal\private_message\Service\PrivateMessageThreadManager::__construct()

PrivateMessageThreadManager constructor.

Parameters

\Drupal\private_message\Service\PrivateMessageServiceInterface $private_message_service: The private message service.

\Drupal\private_message\Service\PrivateMessageMailerInterface $mailer: The private message mailer service.

File

src/Service/PrivateMessageThreadManager.php, line 66

Class

PrivateMessageThreadManager
The Private Message generator class.

Namespace

Drupal\private_message\Service

Code

public function __construct(PrivateMessageServiceInterface $private_message_service, PrivateMessageMailerInterface $mailer) {
  $this->privateMessageService = $private_message_service;
  $this->privateMessageMailer = $mailer;
}