PHP Class Socieboy\Forum\Entities\Replies\Reply

Inheritance: extends Socieboy\Forum\Entities\BaseModel
Datei anzeigen Open project: socieboy/forum Class Usage Examples

Protected Properties

Property Type Description
$fillable array
$table string

Public Methods

Method Description
conversation ( ) : BelongsTo Return the conversation parent of this reply.
isCorrect ( ) : boolean
likes ( ) : mixed Return all likes of this reply.
user ( ) : BelongsTo Return the user owner of this reply.
userLiked ( ) : boolean Return if the auth user has been hit the like button.

Method Details

conversation() public method

Return the conversation parent of this reply.
public conversation ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

isCorrect() public method

public isCorrect ( ) : boolean
return boolean

likes() public method

Return all likes of this reply.
public likes ( ) : mixed
return mixed

user() public method

Return the user owner of this reply.
public user ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

userLiked() public method

Return if the auth user has been hit the like button.
public userLiked ( ) : boolean
return boolean

Property Details

$fillable protected_oe property

protected array $fillable
return array

$table protected_oe property

protected string $table
return string