Файловый менеджер - Редактировать - /home/clickysoft/public_html/travel-guru.clickysoft.net/app/Mail/OrderPlacedForUser.php
Назад
<?php namespace App\Mail; use App\Models\LunchOrder; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Queue\SerializesModels; class OrderPlacedForUser extends Mailable implements ShouldQueue { use Queueable, SerializesModels; private $order; /** * Create a new message instance. */ public function __construct(LunchOrder $order) { $this->order = $order; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: "Order placed successfully", ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'mail.lunch-program.order-email-user', with: [ 'order' => $this->order, ], ); } /** * Get the attachments for the message. * * @return array<int, \Illuminate\Mail\Mailables\Attachment> */ public function attachments(): array { return []; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка