Favorite
extends Entity
in package
Favorite Entity
Table of Contents
Properties
- $created : DateTime|null
- $id : int
- $roadtrip : Roadtrip
- $roadtrip_id : int
- $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
$id
public
int
$id
$roadtrip
public
Roadtrip
$roadtrip
$roadtrip_id
public
int
$roadtrip_id
$user
public
User
$user
$user_id
public
int
$user_id
$_accessible
Fields that can be mass assigned using newEntity() or patchEntity().
protected
array<string, bool>
$_accessible
= ['user_id' => true, 'roadtrip_id' => true, 'created' => true, 'user' => true, 'roadtrip' => 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.