Bounds extends Model
Geographics bounds
Table of Contents
- $ne : LatLng|null
- $sw : LatLng|null
- from() : static
- Initializing a model from an array
- getNe() : LatLng
- Getter for ne
- getSw() : LatLng
- Getter for sw
- jsonSerialize() : array<string|int, mixed>
- setNe() : static
- Setter for ne
- setSw() : static
- Setter for sw
Properties
$ne
protected
LatLng|null
$ne
= null
$sw
protected
LatLng|null
$sw
= 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 —getNe()
Getter for ne
public
getNe() : LatLng
Return values
LatLng —getSw()
Getter for sw
public
getSw() : LatLng
Return values
LatLng —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setNe()
Setter for ne
public
setNe(LatLng $ne) : static
Parameters
- $ne : LatLng
Return values
static —To use in method chains
setSw()
Setter for sw
public
setSw(LatLng $sw) : static
Parameters
- $sw : LatLng
Return values
static —To use in method chains