PHP Class Nahid\Talk\Conversations\Conversation

Inheritance: extends Illuminate\Database\Eloquent\Model
Datei anzeigen Open project: nahid/talk Class Usage Examples

Public Properties

Property Type Description
$fillable
$timestamps

Protected Properties

Property Type Description
$table

Public Methods

Method 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 method

return collection
public messages ( )

userone() public method

return collection
public userone ( )

usertwo() public method

return collection
public usertwo ( )

Property Details

$fillable public_oe property

public $fillable

$table protected_oe property

protected $table

$timestamps public_oe property

public $timestamps