You are here

public function EmailQueue::__construct in Search API Saved Searches 8

Constructs a new class instance.

Parameters

\Drupal\Core\Mail\MailManagerInterface $mail: The mail manager service.

File

src/Service/EmailQueue.php, line 33

Class

EmailQueue
Provides functionality for sending e-mails at the end of the page request.

Namespace

Drupal\search_api_saved_searches\Service

Code

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