File manager - Edit - /var/www/html/homologBancodetalentos/app/Mail/TalentBank/TalentBankContact.php
Back
<?php namespace App\Mail\TalentBank; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Collection; class TalentBankContact extends Mailable { use Queueable, SerializesModels; private Collection $collection; public function __construct(Collection $collection) { $this->collection = $collection; } public function envelope(): Envelope { return new Envelope( subject: $this->collection->get('subject'), ); } public function content(): Content { return new Content( view: 'mail.talent_bank_contact', with: [ 'collection' => $this->collection, ], ); } public function attachments(): array { return []; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings