21 lines
435 B
PHP
21 lines
435 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Mail;
|
||
|
|
|
||
|
|
class ContactMailNL extends ContactMail
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* Build the message.
|
||
|
|
*
|
||
|
|
* @return $this
|
||
|
|
*/
|
||
|
|
public function build()
|
||
|
|
{
|
||
|
|
return $this
|
||
|
|
->subject(sprintf('Nouveau message consommateur Le Gaulois (%s)', $this->data->type->label()))
|
||
|
|
->view('emails.contactNL')
|
||
|
|
->text('emails.contactNL-plain')
|
||
|
|
->with('data', $this->data);
|
||
|
|
}
|
||
|
|
}
|