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
$cancellationTemplater
private
CancellationBookingTemplater
$cancellationTemplater
$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 —getCancellationTemplater()
public
getCancellationTemplater() : CancellationBookingTemplater
Return values
CancellationBookingTemplater —getEmail()
public
getEmail(string $id) : AbstractEmail|null
Parameters
- $id : string
Return values
AbstractEmail|null —getMailer()
public
getMailer() : Mailer
Tags
Return values
Mailer —getReservedRoomsTemplater()
public
getReservedRoomsTemplater() : ReservedRoomsTemplater
Return values
ReservedRoomsTemplater —resendConfirmationEmail()
public
resendConfirmationEmail(mixed $booking) : mixed
Parameters
- $booking : mixed
Tags
Return values
mixed —sendBookingConfirmedWithPaymentEmail()
public
sendBookingConfirmedWithPaymentEmail(Booking $booking, Payment $payment) : mixed
Parameters
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