PHP Класс App\Ninja\Mailers\ContactMailer

Наследование: extends App\Ninja\Mailers\Mailer
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$variableFields array

Защищенные свойства (Protected)

Свойство Тип Описание
$templateService App\services\TemplateService

Открытые методы

Метод Описание
__construct ( TemplateService $templateService ) ContactMailer constructor.
sendInvoice ( Invoice $invoice, boolean $reminder = false, boolean $pdfString = false ) : boolean | null | string
sendLicensePaymentConfirmation ( $name, $email, $amount, $license, $productId )
sendPaymentConfirmation ( Payment $payment )

Защищенные методы

Метод Описание
generatePassword ( integer $length = 9 ) : string

Приватные методы

Метод Описание
sendInvitation ( Invitation $invitation, Invoice $invoice, $body, $subject, $pdfString, $documentStrings ) : boolean | string

Описание методов

__construct() публичный Метод

ContactMailer constructor.
public __construct ( TemplateService $templateService )
$templateService App\services\TemplateService

generatePassword() защищенный Метод

protected generatePassword ( integer $length = 9 ) : string
$length integer
Результат string

sendInvoice() публичный Метод

public sendInvoice ( Invoice $invoice, boolean $reminder = false, boolean $pdfString = false ) : boolean | null | string
$invoice app\models\Invoice
$reminder boolean
$pdfString boolean
Результат boolean | null | string

sendLicensePaymentConfirmation() публичный Метод

public sendLicensePaymentConfirmation ( $name, $email, $amount, $license, $productId )
$name
$email
$amount
$license
$productId

sendPaymentConfirmation() публичный Метод

public sendPaymentConfirmation ( Payment $payment )
$payment app\models\Payment

Описание свойств

$templateService защищенное свойство

protected TemplateService,App\Services $templateService
Результат App\services\TemplateService

$variableFields публичное статическое свойство

public static array $variableFields
Результат array