PHP Class Nahid\Talk\Conversations\Conversation

Inheritance: extends Illuminate\Database\Eloquent\Model
Afficher le fichier Open project: nahid/talk Class Usage Examples

Méthodes publiques

Свойство Type Description
$fillable
$timestamps

Protected Properties

Свойство Type Description
$table

Méthodes publiques

Méthode Description
messages ( ) * make a relation between message
userone ( ) * make a relation between first user from conversation
usertwo ( ) * make a relation between second user from conversation

Method Details

messages() public méthode

return collection
public messages ( )

userone() public méthode

return collection
public userone ( )

usertwo() public méthode

return collection
public usertwo ( )

Property Details

$fillable public_oe property

public $fillable

$table protected_oe property

protected $table

$timestamps public_oe property

public $timestamps