Area
extends Base
in package
Class Area.
Table of Contents
- $active : bool
- $countries : array<string|int, Country>
- $id : int
- $name : string
- getArrayCopy() : array<string|int, mixed>
- Gets the attributes of this entity.
- getCountries() : array<string|int, Country>
- getId() : int
- getName() : string
- isActive() : bool
- setActive() : Area
- setCountries() : Area
- setEntityAttributes() : $this
- Sets the attributes of this entity.
- setId() : Area
- setName() : Area
Properties
$active
protected
bool
$active
$countries
protected
array<string|int, Country>
$countries
$id
protected
int
$id
$name
protected
string
$name
Methods
getArrayCopy()
Gets the attributes of this entity.
public
getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed> —getCountries()
public
getCountries() : array<string|int, Country>
Return values
array<string|int, Country> —getId()
public
getId() : int
Return values
int —getName()
public
getName() : string
Return values
string —isActive()
public
isActive() : bool
Return values
bool —setActive()
public
setActive(bool $active) : Area
Parameters
- $active : bool
Return values
Area —setCountries()
public
setCountries(array<string|int, Country> $countries) : Area
Parameters
- $countries : array<string|int, Country>
Return values
Area —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) : Area
Parameters
- $id : int
Return values
Area —setName()
public
setName(string $name) : Area
Parameters
- $name : string