Class Comment
Model for the comments table
-
Illuminate\Database\Eloquent\Model
-
rsanchez\Deep\Model\Comment
Methods summary
public
Illuminate\Database\Eloquent\Relations\HasOne
|
#
author( )
Define the Author Eloquent relationship
Define the Author Eloquent relationship
Returns
Illuminate\Database\Eloquent\Relations\HasOne
|
public
Carbon\Carbon|null
|
#
getEditDateAttribute( integer $value )
Get the edit_date column as a Carbon object
Get the edit_date column as a Carbon object
Parameters
- $value
integer $value unix time
Returns
Carbon\Carbon|null
|
Properties summary
protected
string
|
$table
|
'comments' |
|
protected
string
|
$primaryKey
|
'comment_id' |
|