EmailsRegistry
in package

Tags
since
1.1.0

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
since
1.1.0

Methods

getAdminEmails()

public getAdminEmails() : array<string|int, AbstractEmail>
Tags
since
1.1.0
Return values
array<string|int, AbstractEmail>

getCustomerEmails()

public getCustomerEmails() : array<string|int, AbstractEmail>
Tags
since
1.1.0
Return values
array<string|int, AbstractEmail>

getEmailByName()

public getEmailByName(string $name) : AbstractEmail|null
Parameters
$name : string
Tags
since
1.1.0
Return values
AbstractEmail|null

getEmails()

public getEmails() : array<string|int, AbstractEmail>
Tags
since
1.1.0
Return values
array<string|int, AbstractEmail>

mapByName()

protected mapByName(array<string|int, AbstractEmail$entries) : array<string|int, AbstractEmail>
Parameters
$entries : array<string|int, AbstractEmail>

[Entry ID => AbstractEmail]

Tags
since
1.1.0
Return values
array<string|int, AbstractEmail>

[Entry name => AbstractEmail]

Search results