Add missing abstract methods from Illuminate\Auth\UserInterface in User test model

parent 932bb693
...@@ -85,6 +85,36 @@ class User extends Eloquent implements UserInterface, RemindableInterface { ...@@ -85,6 +85,36 @@ class User extends Eloquent implements UserInterface, RemindableInterface {
return $this->email; return $this->email;
} }
/**
* Get the token value for the "remember me" session.
*
* @return string
*/
public function getRememberToken()
{
return $this->rememberToken;
}
/**
* Set the token value for the "remember me" session.
*
* @param string $value
* @return void
*/
public function setRememberToken($value)
{
$this->rememberToken = $value;
}
/**
* Get the column name for the "remember me" token.
*
* @return string
*/
public function getRememberTokenName() {
return 'remember_token';
}
protected function getDateFormat() protected function getDateFormat()
{ {
return 'l jS \of F Y h:i:s A'; return 'l jS \of F Y h:i:s A';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment