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