메소드 |
설명 |
|
afterCreate ( ) : void |
After create event |
|
afterDelete ( ) : void |
After delete event |
|
afterLogin ( ) : void |
After login event |
|
attemptActivation ( string $code ) : void |
Sends the confirmation email to a user, after activating. |
|
ban ( ) : void |
Ban this user, preventing them from signing in. |
|
beforeValidate ( ) : void |
Before validation event |
|
convertToRegistered ( $sendNotification = true ) : void |
Converts a guest user to a registered one and sends an invitation notification. |
|
findByEmail ( $email ) : self |
Looks up a user by their email address. |
|
getAvatarThumb ( $size = 25, $options = null ) |
Returns the public image file path to this user's avatar. |
|
getLastSeen ( ) : Carbon\Carbon |
Returns the date this user was last seen. |
|
getLoginName ( ) : string |
Returns the name for the user's login. |
|
getPersistCode ( ) : string |
Gets a code for when the user is persisted to a cookie or session which identifies the user. |
|
isBanned ( ) : boolean |
Check if the user is banned. |
|
isOnline ( ) : boolean |
Returns true if the user has been active within the last 5 minutes. |
|
scopeFilterByGroup ( $query, $filter ) |
|
|
scopeIsActivated ( $query ) |
|
|
touchLastSeen ( ) : void |
Checks if the user has been seen in the last 5 minutes, and if not,
updates the last_seen timestamp to reflect their online status. |
|
unban ( ) : void |
Remove the ban on this user. |
|