PointsOfInterest
extends Entity
in package
PointsOfInterest Entity
Table of Contents
Properties
- $category : string|null
- $comments : array<string|int, Comment>
- $description : string|null
- $id : int
- $latitude : string|null
- $longitude : string|null
- $name : string
- $roadtrips : array<string|int, Roadtrip>
- $user : User
- $user_id : int|null
- $_accessible : array<string, bool>
- Fields that can be mass assigned using newEntity() or patchEntity().
Properties
$category
public
string|null
$category
$comments
public
array<string|int, Comment>
$comments
$description
public
string|null
$description
$id
public
int
$id
$latitude
public
string|null
$latitude
$longitude
public
string|null
$longitude
$name
public
string
$name
$roadtrips
public
array<string|int, Roadtrip>
$roadtrips
$user
public
User
$user
$user_id
public
int|null
$user_id
$_accessible
Fields that can be mass assigned using newEntity() or patchEntity().
protected
array<string, bool>
$_accessible
= ['name' => true, 'description' => true, 'latitude' => true, 'longitude' => true, 'category' => true, 'user_id' => true, 'user' => true, 'comments' => true, 'roadtrips' => 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.