File manager - Edit - /var/www/html/ppps/app/Mail/Contact.php
Back
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Mail\Mailables\Address; use Illuminate\Queue\SerializesModels; class Contact extends Mailable { use Queueable, SerializesModels; public function __construct(public readonly array $data) { } public function envelope() { return new Envelope( subject: $this->data["subject"] . " - " . time(), from: new Address("naoresponda@angra.rj.gov.br", 'Prefeitura Municipal de Angra dos Reis'), to: $this->data["email"] ); } public function content(): Content { return new Content( view: 'emails.contact', with: $this->data ); } public function attachments(): array { return []; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings