Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\Mail;
- use App\User;
- use Illuminate\Bus\Queueable;
- use Illuminate\Contracts\Queue\ShouldQueue;
- use Illuminate\Mail\Mailable;
- use Illuminate\Queue\SerializesModels;
- class Product extends Mailable
- {
- use Queueable, SerializesModels;
- public $user;
- public function __construct(User $user)
- {
- $this->user = $user;
- }
- /**
- * Build the message.
- *
- * @return $this
- */
- public function build()
- {
- return $this->view('emails.product');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement