mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
- Add a toggle for the phone SMS registration/auth related features - Add the newsletter email registration toggle - Rename and move around views and controllers - Refactor the login and registration forms - Split the registration form in two, email and phone
29 lines
626 B
PHP
29 lines
626 B
PHP
<?php
|
|
|
|
namespace App\Mail;
|
|
|
|
use Illuminate\Bus\Queueable;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Mail\Mailable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
use App\Account;
|
|
|
|
class NewsletterRegistration extends Mailable
|
|
{
|
|
use Queueable, SerializesModels;
|
|
|
|
private $_account;
|
|
|
|
public function __construct(Account $account)
|
|
{
|
|
$this->_account = $account;
|
|
}
|
|
|
|
public function build()
|
|
{
|
|
return $this->view('mails.newsletter_registration')
|
|
->text('mails.newsletter_registration_text')
|
|
->with(['account' => $this->_account]);
|
|
}
|
|
}
|