ldc-portsalaries/app/Mail/EmployeeInfoFamily.php
2021-06-24 13:28:11 +02:00

22 lines
541 B
PHP

<?php
namespace App\Mail;
class EmployeeInfoFamily extends EmployeeInfo
{
/**
* Build the message.
*
* @return $this
*/
public function build()
{
$this->joinFileIfProvided();
return $this
->subject(sprintf('%s : Un salarié a mis à jour ses informations', config('app.name')))
->view('emails.employee-family')
->text('emails.employee-family-plain')
->with('employee', $this->data['employee'])
->with('data', $this->data);
}
}