ok

Mini Shell

Direktori : /home2/selectio/public_html/3-idiots/app/Mail/
Upload File :
Current File : /home2/selectio/public_html/3-idiots/app/Mail/EmailVerification.php

<?php

namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;

class EmailVerification extends Mailable
{
    use Queueable, SerializesModels;

    /**
     * Create a new message instance.
     *
     * @return void
     */
    protected $token;

    public function __construct($token)
    {
        $this->token = $token;
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return $this->view('email-templates.email-verification', ['token' => $this->token]);
    }
}

Zerion Mini Shell 1.0