CoordinateParametersGroup
extends ParametersGroup
in package
This is the coordinate parameters group class.
Table of Contents
| $latitude | : float | |
|---|---|---|
| $longitude | : float | |
| $validator | : ParametersValidator | |
| setLatitude() | Sets the latitude parameter for this parameters group. | : void |
| setLongitude() | Sets the longitude parameter for this parameters group. | : void |
| toArray() | Returns the object data on array format. | : array<string|int, mixed> |
| filter() | : array<string|int, mixed> | |
| getInstantiatedValidator() | : ParametersValidator | |
| getValidator() | : CoordinateParametersValidator |
Properties
$latitude
protected
float
$latitude
$longitude
protected
float
$longitude
$validator
protected
ParametersValidator
$validator
Methods
setLatitude()
Sets the latitude parameter for this parameters group.
public
setLatitude(float $latitude) : void
Parameters
- $latitude : float
Return values
void —setLongitude()
Sets the longitude parameter for this parameters group.
public
setLongitude(float $longitude) : void
Parameters
- $longitude : float
Return values
void —toArray()
Returns the object data on array format.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —filter()
protected
filter(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Return values
array<string|int, mixed> —getInstantiatedValidator()
protected
getInstantiatedValidator() : ParametersValidator
Return values
ParametersValidator —getValidator()
protected
getValidator() : CoordinateParametersValidator