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