PHP Class Nahid\Talk\Messages\Message

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
$touches

Public Methods

Method Description
conversation ( ) * make a relation between conversation model
getHumansTimeAttribute ( ) * make dynamic attribute for human readable time
sender ( ) * its an alias of user relation
user ( ) * make a relation between user model

Method Details

conversation() public method

* make a relation between conversation model
public conversation ( )

getHumansTimeAttribute() public method

* make dynamic attribute for human readable time

sender() public method

* its an alias of user relation
public sender ( )

user() public method

* make a relation between user model
public user ( )

Property Details

$fillable public_oe property

public $fillable

$table protected_oe property

protected $table

$timestamps public_oe property

public $timestamps

$touches protected_oe property

protected $touches