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

22 lines
544 B
PHP

<?php
namespace App\Mail;
class EmployeeInfoAddress 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-address')
->text('emails.employee-address-plain')
->with('employee', $this->data['employee'])
->with('data', $this->data);
}
}