\User

Model for representation of users

Summary

Methods
Properties
Constants
uploads()
resetLastActivity()
No public properties found
No constants found
No protected methods found
$table
$softDelete
$fillable
N/A
No private methods found
No private properties found
N/A

Properties

$table

$table : string

String containing the database table

Type

string

$softDelete

$softDelete : boolean

Controlling soft delete

Type

boolean

$fillable

$fillable : array

Array with fillable fields

Type

array

Methods

uploads()

uploads() : \Illuminate\Database\Eloquent\Collection

Function to retrieve associated uploads

Returns

\Illuminate\Database\Eloquent\Collection —

A collection of users uploads

resetLastActivity()

resetLastActivity() 

Function to reset the user as active