Documentation

Conversation extends Entity
in package

Conversation Entity

Table of Contents

Properties

$id  : int
$messages  : array<string|int, Message>
$modified  : DateTime|null
$user_one  : User
$user_one_id  : int
$user_two  : User
$user_two_id  : int
$_accessible  : array<string, bool>
Fields that can be mass assigned using newEntity() or patchEntity().

Properties

$_accessible

Fields that can be mass assigned using newEntity() or patchEntity().

protected array<string, bool> $_accessible = ['user_one_id' => true, 'user_two_id' => true, 'modified' => true, 'user_one' => true, 'user_two' => true, 'messages' => true]

Note that when '' is set to true, this allows all unspecified fields to be mass assigned. For security purposes, it is advised to set '' to false (or remove it), and explicitly make individual fields accessible as needed.


        
On this page

Search results