ok

Mini Shell

Direktori : /proc/thread-self/root/home2/selectio/www/limpiar.in.net/updates/app/Mail/
Upload File :
Current File : //proc/thread-self/root/home2/selectio/www/limpiar.in.net/updates/app/Mail/InvoiceEmailManager.php

<?php

namespace App\Mail;

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

class InvoiceEmailManager extends Mailable
{
    use Queueable, SerializesModels;
    /**
     * Create a new message instance.
     *
     * @return void
     */
    public $array;

    public function __construct($array)
    {
        $this->array = $array;
    }
    /**
     * Build the message.
     *
     * @return $this
     */
     public function build()
     {
         return $this->view($this->array['view'])
                     ->from($this->array['from'], env('MAIL_FROM_NAME'))
                     ->subject($this->array['subject'])
                     ->with([
                         'order' => $this->array['order']
                     ]);
     }
}

Zerion Mini Shell 1.0