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

getConnectionName()

No description

from  Model
read()

Mark this post as having been read by the user.

BelongsTo
post()

No description

BelongsTo
user()

No description

string
getKey()

No description

Builder
setKeysForSaveQuery($query)

No description

Details

getConnectionName()

No description

PostUser read()

Mark this post as having been read by the user.

Return Value

PostUser

BelongsTo post()

No description

Return Value

BelongsTo

BelongsTo user()

No description

Return Value

BelongsTo

string getKey()

No description

Return Value

string

protected Builder setKeysForSaveQuery($query)

No description

Parameters

$query

Return Value

Builder