ok

Mini Shell

Direktori : /home2/selectio/public_html/a1tex.in/app/Mail/
Upload File :
Current File : /home2/selectio/public_html/a1tex.in/app/Mail/OrderReceivedNotifySeller.php

<?php

namespace App\Mail;

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

class OrderReceivedNotifySeller extends Mailable
{
    use Queueable, SerializesModels;

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

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

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        $o_id = $this->o_id;
        return $this->view('email-templates.order-received-notify-seller',['id'=>$o_id]);
    }
}

Zerion Mini Shell 1.0