Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-mongodb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
laravel-mongodb
Commits
f2f46be1
Commit
f2f46be1
authored
Apr 16, 2014
by
Jens Segers
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #191 from ilesinge/fix_tests
Add missing abstract methods from UserInterface in User test model
parents
932bb693
96ebc95b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
User.php
tests/models/User.php
+30
-0
No files found.
tests/models/User.php
View file @
f2f46be1
...
...
@@ -85,6 +85,36 @@ class User extends Eloquent implements UserInterface, RemindableInterface {
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
()
{
return
'l jS \of F Y h:i:s A'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment