20 lines
423 B
PHP
20 lines
423 B
PHP
<?php
|
|
|
|
namespace App\Repositories\Shop\Traits;
|
|
|
|
use App\Repositories\Shop\Customers;
|
|
use App\Repositories\Core\DateTime;
|
|
use Illuminate\Mail\Mailables\Address;
|
|
use Illuminate\Mail\Mailables\Envelope;
|
|
|
|
trait MailCustomers
|
|
{
|
|
public function envelope()
|
|
{
|
|
return new Envelope(
|
|
from: new Address('boutique@jardinenvie.com', 'Jardin\'en\'Vie'),
|
|
subject: $this->subject,
|
|
);
|
|
}
|
|
}
|