public function getEmailByToken($token)
    {
        $reminder = $this->getReminder()
            ->where('token', '=', $token)
            ->where('created_at', '>=', $this->getOldestValidDate())
            ->first();

        return $reminder->email;
    }
public function getEmailByToken($token)
    {
        $reminder = $this->getReminder()
            ->where('token', '=', $token)
            ->where('created_at', '>=', $this->getOldestValidDate())
            ->first();

        return $reminder->email;
    }
public function getEmailByToken ( $ token ) { $ reminder = $ this -> getReminder ( ) -> where ( 'token' , '=' , $ token ) -> where ( 'created_at' , '>=' , $ this -> getOldestValidDate ( ) ) -> first ( ) ; return $ reminder -> email ; }
Returns the email associated with the given reset
password token.

@param string $token

@return string Email.
Returns the email associated with the given reset password token .