Advertisement
Guest User

Untitled

a guest
Mar 17th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. class EmailSendPassword extends Mailable
  2. {
  3. use Queueable, SerializesModels;
  4.  
  5. public $user;
  6. public $password;
  7. public function __construct($user, $password)
  8. {
  9. $this->user = $user;
  10. $this->password = $password;
  11. }
  12. public function build()
  13. {
  14. return $this
  15. ->subject('Ваш пароль на сайте ' . env('APP_NAME'))
  16. ->markdown('emails.sendpass', compact('user', 'password'));
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement