opnform/app/Mail/Forms/FormCreationConfirmationMai...

39 lines
754 B
PHP

<?php
namespace App\Mail\Forms;
use App\Mail\OpenFormMail;
use App\Models\Forms\Form;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\SerializesModels;
class FormCreationConfirmationMail extends OpenFormMail implements ShouldQueue
{
use Queueable;
use SerializesModels;
/**
* Create a new message instance.
*
* @return void
*/
public function __construct(public Form $form)
{
//
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this
->markdown('mail.form.created', [
'form' => $this->form,
])->subject('Your form was created!');
}
}