ResultsItem extends Model
Table of Contents
- $lat : float|null
- The latitude in degrees.
- $lng : float|null
- The longitude in degrees.
- $locationCovered : bool|null
- True, if the requested location is considered covered.
- $margins : array<string|int, mixed>|null
- The margins values (dB) for redundancy level 1, 2 and 3.
- from() : static
- Initializing a model from an array
- getLat() : float
- Getter for lat
- getLng() : float
- Getter for lng
- getLocationCovered() : bool
- Getter for locationCovered
- getMargins() : array<string|int, int>
- Getter for margins
- jsonSerialize() : array<string|int, mixed>
- setLat() : static
- Setter for lat
- setLng() : static
- Setter for lng
- setLocationCovered() : static
- Setter for locationCovered
- setMargins() : static
- Setter for margins
Properties
$lat
The latitude in degrees.
protected
float|null
$lat
= null
$lng
The longitude in degrees.
protected
float|null
$lng
= null
$locationCovered
True, if the requested location is considered covered.
protected
bool|null
$locationCovered
= null
$margins
The margins values (dB) for redundancy level 1, 2 and 3.
protected
array<string|int, mixed>|null
$margins
= null
Methods
from()
Initializing a model from an array
public
static from(array<string|int, mixed> $params) : static
Parameters
- $params : array<string|int, mixed>
-
Pass this parameter if you want to initial property value from an array. See API reference for all property names and types
Tags
Return values
static —getLat()
Getter for lat
public
getLat() : float
Return values
float —The latitude in degrees.
getLng()
Getter for lng
public
getLng() : float
Return values
float —The longitude in degrees.
getLocationCovered()
Getter for locationCovered
public
getLocationCovered() : bool
Return values
bool —True, if the requested location is considered covered.
getMargins()
Getter for margins
public
getMargins() : array<string|int, int>
Return values
array<string|int, int> —The margins values (dB) for redundancy level 1, 2 and 3.
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setLat()
Setter for lat
public
setLat(float $lat) : static
Parameters
- $lat : float
-
The latitude in degrees.
Return values
static —To use in method chains
setLng()
Setter for lng
public
setLng(float $lng) : static
Parameters
- $lng : float
-
The longitude in degrees.
Return values
static —To use in method chains
setLocationCovered()
Setter for locationCovered
public
setLocationCovered(bool $locationCovered) : static
Parameters
- $locationCovered : bool
-
True, if the requested location is considered covered.
Return values
static —To use in method chains
setMargins()
Setter for margins
public
setMargins(array<string|int, int> $margins) : static
Parameters
- $margins : array<string|int, int>
-
The margins values (dB) for redundancy level 1, 2 and 3.
Return values
static —To use in method chains