Property | Type | Description | |
---|---|---|---|
$fillable | array | ||
$table | string |
Method | Description | |
---|---|---|
correctAnswer ( ) : mixed | Return correct answer | |
getOwnerNameAttribute ( ) : string | Get owner name attribute | |
getTopicAttribute ( ) : string | Return the topic name. | |
getTopicColorAttribute ( ) : string | Return the topic color. | |
getTopicIconAttribute ( ) : string | Return the topic icon. | |
hasCorrectAnswer ( ) : boolean | Return true if the conversation has a correct answer. | |
replies ( ) : Illuminate\Database\Eloquent\Relations\HasMany | Return replies on this conversation. | |
user ( ) : |
Return the user owner of this conversation. |
public getOwnerNameAttribute ( ) : string | ||
return | string |
public getTopicAttribute ( ) : string | ||
return | string |
public getTopicColorAttribute ( ) : string | ||
return | string |
public getTopicIconAttribute ( ) : string | ||
return | string |
public hasCorrectAnswer ( ) : boolean | ||
return | boolean |
public replies ( ) : Illuminate\Database\Eloquent\Relations\HasMany | ||
return | Illuminate\Database\Eloquent\Relations\HasMany |
public user ( ) : |
||
return |