Last active
May 18, 2018 19:07
-
-
Save thannaske/e62d0580ac905b23c004d338d143c1da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// [...] | |
protected $user; | |
/** | |
* Create a new message instance. | |
* | |
* @return void | |
*/ | |
public function __construct($user) | |
{ | |
$this->user = $user; | |
} | |
/** | |
* Build the message. | |
* | |
* @return $this | |
*/ | |
public function build() | |
{ | |
return $this->view('emails.confirmation', [ | |
'token' => $this->user->confirmation_token, | |
'id' => $this->user->id, | |
]); | |
} | |
// [...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment