File manager - Edit - /var/www/payraty/accounting_main/app/Mail/CommonEmailTemplate.php
Back
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class CommonEmailTemplate extends Mailable { use Queueable, SerializesModels; public $template; public $settings; /** * Create a new message instance. * * @return void */ public function __construct($template, $settings) { $this->template = $template; $this->settings = $settings; } /** * Build the message. * * @return $this */ public function build() { return $this->from($this->settings['mail_from_address'], $this->template->from)->markdown('email.common_email_template')->subject($this->template->subject)->with('content', $this->template->content); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.76 |
proxy
|
phpinfo
|
Settings