Locale
extends Base
in package
Class Locale.
Table of Contents
- $id : int
- $language : string
- $locale : string
- $territory : string
- getArrayCopy() : array<string|int, mixed>
- Gets the attributes of this entity.
- getId() : int
- getLanguage() : string
- getLocale() : string
- getTerritory() : string
- setEntityAttributes() : $this
- Sets the attributes of this entity.
- setId() : Locale
- setLanguage() : Locale
- setLocale() : Locale
- setTerritory() : Locale
Properties
$id
protected
int
$id
$language
protected
string
$language
$locale
protected
string
$locale
$territory
protected
string
$territory
Methods
getArrayCopy()
Gets the attributes of this entity.
public
getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed> —getId()
public
getId() : int
Return values
int —getLanguage()
public
getLanguage() : string
Return values
string —getLocale()
public
getLocale() : string
Return values
string —getTerritory()
public
getTerritory() : string
Return values
string —setEntityAttributes()
Sets the attributes of this entity.
public
setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
- $attributes : array<string|int, mixed>
Return values
$this —setId()
public
setId(int $id) : Locale
Parameters
- $id : int
Return values
Locale —setLanguage()
public
setLanguage(string $language) : Locale
Parameters
- $language : string
Return values
Locale —setLocale()
public
setLocale(string $locale) : Locale
Parameters
- $locale : string
Return values
Locale —setTerritory()
public
setTerritory(string $territory) : Locale
Parameters
- $territory : string