EmailsRegistry
in package
Tags
Table of Contents
- $emails : array<string|int, AbstractEmail>
- adminApprovedBooking() : AdminApprovedBookingEmail
- adminCancelledBooking() : AdminCancelledBookingEmail
- adminNewBooking() : AdminNewBookingEmail
- adminPendingBooking() : AdminPendingBookingEmail
- customerApprovedBooking() : CustomerApprovedBookingEmail
- customerApprovedPayment() : CustomerApprovedPaymentEmail
- customerCancelledBooking() : CustomerCancelledBookingEmail
- customerNewBooking() : CustomerNewBookingEmail
- customerPendingBooking() : CustomerPendingBookingEmail
- getAdminEmails() : array<string|int, AbstractEmail>
- getCustomerEmails() : array<string|int, AbstractEmail>
- getEmailByName() : AbstractEmail|null
- getEmails() : array<string|int, AbstractEmail>
- notificationEmail() : NotificationEmail
- mapByName() : array<string|int, AbstractEmail>
Properties
$emails
protected
array<string|int, AbstractEmail>
$emails
= []
Tags
Methods
adminApprovedBooking()
public
adminApprovedBooking() : AdminApprovedBookingEmail
Tags
Return values
AdminApprovedBookingEmail —adminCancelledBooking()
public
adminCancelledBooking() : AdminCancelledBookingEmail
Tags
Return values
AdminCancelledBookingEmail —adminNewBooking()
public
adminNewBooking() : AdminNewBookingEmail
Tags
Return values
AdminNewBookingEmail —adminPendingBooking()
public
adminPendingBooking() : AdminPendingBookingEmail
Tags
Return values
AdminPendingBookingEmail —customerApprovedBooking()
public
customerApprovedBooking() : CustomerApprovedBookingEmail
Tags
Return values
CustomerApprovedBookingEmail —customerApprovedPayment()
public
customerApprovedPayment() : CustomerApprovedPaymentEmail
Tags
Return values
CustomerApprovedPaymentEmail —customerCancelledBooking()
public
customerCancelledBooking() : CustomerCancelledBookingEmail
Tags
Return values
CustomerCancelledBookingEmail —customerNewBooking()
public
customerNewBooking() : CustomerNewBookingEmail
Tags
Return values
CustomerNewBookingEmail —customerPendingBooking()
public
customerPendingBooking() : CustomerPendingBookingEmail
Tags
Return values
CustomerPendingBookingEmail —getAdminEmails()
public
getAdminEmails() : array<string|int, AbstractEmail>
Tags
Return values
array<string|int, AbstractEmail> —getCustomerEmails()
public
getCustomerEmails() : array<string|int, AbstractEmail>
Tags
Return values
array<string|int, AbstractEmail> —getEmailByName()
public
getEmailByName(string $name) : AbstractEmail|null
Parameters
- $name : string
Tags
Return values
AbstractEmail|null —getEmails()
public
getEmails() : array<string|int, AbstractEmail>
Tags
Return values
array<string|int, AbstractEmail> —notificationEmail()
public
notificationEmail(Notification|null $notification[, Reservation|null $reservation = null ]) : NotificationEmail
Parameters
- $notification : Notification|null
- $reservation : Reservation|null = null
-
Optional.
Tags
Return values
NotificationEmail —mapByName()
protected
mapByName(array<string|int, AbstractEmail> $entries) : array<string|int, AbstractEmail>
Parameters
- $entries : array<string|int, AbstractEmail>
-
[Entry ID => AbstractEmail]
Tags
Return values
array<string|int, AbstractEmail> —[Entry name => AbstractEmail]