PHP Class App\Services\Auth\User

Inheritance: extends Illuminate\Database\Eloquent\Model, implements Illuminate\Contracts\Auth\Authenticatable, implements Illuminate\Contracts\Auth\CanResetPassword, implements Illuminate\Contracts\Auth\Access\Authorizable, use trait Illuminate\Auth\Authenticatable, use trait Illuminate\Auth\Passwords\CanResetPassword, use trait Illuminate\Foundation\Auth\Access\Authorizable, use trait Illuminate\Notifications\Notifiable, use trait UserPresenter
Show file Open project: spatie-custom/blender Class Usage Examples

Protected Properties

Property Type Description
$dates
$guarded
$hidden

Public Methods

Method Description
findByEmail ( string $email ) : User | null
findByToken ( string $token ) : User | null
getHomeUrl ( ) : string
getNameAttribute ( ) : string
getProfileUrl ( ) : string
guardDriver ( ) : string
hasNeverLoggedIn ( ) : boolean
isCurrentUser ( ) : boolean
registerLastActivity ( ) : User

Method Details

findByEmail() public static method

public static findByEmail ( string $email ) : User | null
$email string
return User | null

findByToken() public static method

public static findByToken ( string $token ) : User | null
$token string
return User | null

getHomeUrl() abstract public method

abstract public getHomeUrl ( ) : string
return string

getNameAttribute() public method

public getNameAttribute ( ) : string
return string

getProfileUrl() abstract public method

abstract public getProfileUrl ( ) : string
return string

guardDriver() abstract public method

abstract public guardDriver ( ) : string
return string

hasNeverLoggedIn() public method

public hasNeverLoggedIn ( ) : boolean
return boolean

isCurrentUser() public method

public isCurrentUser ( ) : boolean
return boolean

registerLastActivity() public method

public registerLastActivity ( ) : User
return User

Property Details

$dates protected property

protected $dates

$guarded protected property

protected $guarded

$hidden protected property

protected $hidden