Skip to content

Commit 5394eba

Browse files
committed
adding abstract metods.
1 parent 3c81c95 commit 5394eba

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/models/User.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,21 @@ abstract class User extends \BaseModel implements UserInterface, RemindableInter
3636
*/
3737
protected $hidden = array('password');
3838

39+
public function getRememberToken()
40+
{
41+
return $this->remember_token;
42+
}
43+
44+
public function setRememberToken($value)
45+
{
46+
$this->remember_token = $value;
47+
}
48+
49+
public function getRememberTokenName()
50+
{
51+
return 'remember_token';
52+
}
53+
3954
/**
4055
* Get the unique identifier for the user.
4156
*

0 commit comments

Comments
 (0)