Skip to content

Commit

Permalink
Added reference to UserInterface in Token related methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizaco committed Apr 16, 2014
1 parent 34ff49e commit e0e67e4
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions src/Zizaco/Confide/ConfideUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,30 +147,34 @@ public function resetPassword( $params )
return false;
}
}

/**
* Get the remember token for password resets
*
* @return string
* Get the token value for the "remember me" session.
*
* @see \Illuminate\Auth\UserInterface
* @return string
*/
public function getRememberToken()
{
return $this->remember_token;
}

/**
* Set the remember token for a password reset
*
* @param string
* Set the token value for the "remember me" session.
*
* @see \Illuminate\Auth\UserInterface
* @param string $value
* @return void
*/
public function setRememberToken($value)
{
$this->remember_token = $value;
}

/**
* Get the name of the remember token
*
* Get the column name for the "remember me" token.
*
* @see \Illuminate\Auth\UserInterface
* @return string
*/
public function getRememberTokenName()
Expand Down

0 comments on commit e0e67e4

Please sign in to comment.