<?php // this Code is Cracked by dharunMods-YouTube-Channel namespace App\Mail; use App\Models\Deposit; use App\Models\User; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class DepositStatus extends Mailable { use Queueable, SerializesModels; public $deposit, $subject, $user; public $foramin; /** * Create a new message instance. * * @return void */ public function __construct(Deposit $deposit, User $user, $subject, $foramin = false) { $this->deposit = $deposit; $this->user = $user; $this->foramin = $foramin; $this->subject = $subject; } /** * Build the message. * * @return $this */ public function build() { return $this->markdown('emails.success-deposit')->subject($this->subject); } }