Documentation

Comment extends Entity
in package

Comment Entity

Table of Contents

Properties

$body  : string
$created  : DateTime|null
$id  : int
$points_of_interest  : PointsOfInterest
$points_of_interest_id  : int|null
$rating  : int|null
$roadtrip  : Roadtrip
$roadtrip_id  : int|null
$user  : User
$user_id  : int
$_accessible  : array<string, bool>
Fields that can be mass assigned using newEntity() or patchEntity().

Properties

$created

public DateTime|null $created

$points_of_interest_id

public int|null $points_of_interest_id

$roadtrip_id

public int|null $roadtrip_id

$_accessible

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

protected array<string, bool> $_accessible = ['user_id' => true, 'roadtrip_id' => true, 'points_of_interest_id' => true, 'body' => true, 'rating' => true, 'created' => true, 'user' => true, 'roadtrip' => true, 'points_of_interest' => 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