PHP Sigfox Client

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

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
throws
DeserializeException

If provided an invalid type to a property

Return values
static

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Tags
inheritdoc
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

Search results