Place
The model class of Place
Tags
Table of Contents
- $id : int
- $name : string
- __construct() : mixed
- Place constructor
- getId() : int
- Get the id of the place
- getName() : string
- Get the name of the place
Properties
$id
private
int
$id
$name
private
string
$name
Methods
__construct()
Place constructor
public
__construct(int $id, string $name) : mixed
Parameters
- $id : int
- $name : string
Return values
mixed —getId()
Get the id of the place
public
getId() : int
Return values
int —getName()
Get the name of the place
public
getName() : string