PostUser
class PostUser extends Model (View source)
Properties
static protected | $unguarded | from Model | |
$timestamps | |||
protected | $table | ||
protected | $casts | ||
int | $post_id | ||
int | $user_id | ||
null|Carbon | $last_read_at | ||
null|string | $notifications | ||
null|Carbon | $followed_at | ||
null|Carbon | $mentioned_at | ||
Post read-only | $post | ||
User read-only | $user |
Methods
BelongsTo
post()
No description
BelongsTo
user()
No description
string
getKey()
No description
Builder
setKeysForSaveQuery($query)
No description
Details
in
Model at line 18
getConnectionName()
No description
PostUser
read()
Mark this post as having been read by the user.
BelongsTo
post()
No description
BelongsTo
user()
No description
string
getKey()
No description
protected Builder
setKeysForSaveQuery($query)
No description