Emails
in package

Table of Contents

$cancellationTemplater  : CancellationBookingTemplater
$emails  : array<string|int, AbstractEmail>
$mailer  : Mailer
$reservedRoomsTemplater  : ReservedRoomsTemplater
__construct()  : mixed
addEmail()  : mixed
getCancellationTemplater()  : CancellationBookingTemplater
getEmail()  : AbstractEmail|null
getMailer()  : Mailer
getReservedRoomsTemplater()  : ReservedRoomsTemplater
resendConfirmationEmail()  : mixed
sendBookingConfirmedWithPaymentEmail()  : mixed
sendBookingMails()  : mixed
showDeprecatedTagsNotice()  : mixed
initEmails()  : mixed

Properties

$emails

private array<string|int, AbstractEmail> $emails

$mailer

private Mailer $mailer = null

$reservedRoomsTemplater

private ReservedRoomsTemplater $reservedRoomsTemplater

Methods

__construct()

public __construct() : mixed
Return values
mixed

addEmail()

public addEmail(AbstractEmail $email) : mixed
Parameters
$email : AbstractEmail
Return values
mixed

getEmail()

public getEmail(string $id) : AbstractEmail|null
Parameters
$id : string
Return values
AbstractEmail|null

getMailer()

public getMailer() : Mailer
Tags
since
3.7.0

added new filter - "mphb_default_mailer".

Return values
Mailer

resendConfirmationEmail()

public resendConfirmationEmail(mixed $booking) : mixed
Parameters
$booking : mixed
Tags
since
3.9.3
Return values
mixed

sendBookingConfirmedWithPaymentEmail()

public sendBookingConfirmedWithPaymentEmail(Booking $booking, Payment $payment) : mixed
Parameters
$booking : Booking
$payment : Payment
Return values
mixed

sendBookingMails()

public sendBookingMails(Booking $booking, mixed $oldStatus) : mixed
Parameters
$booking : Booking
$oldStatus : mixed
Return values
mixed

showDeprecatedTagsNotice()

public showDeprecatedTagsNotice() : mixed
Return values
mixed

initEmails()

private initEmails() : mixed
Return values
mixed

Search results