Table of Contents
-
$backName
: string
-
$config
: AirlayConfig
-
__construct()
: mixed
-
execute()
: array<string|int, mixed>
-
createErrorResponse()
: array<string|int, mixed>
-
createResultResponse()
: array<string|int, mixed>
-
addCoordinatesInResponse()
: array<string|int, mixed>
$backName
protected
string
$backName
$config
protected
AirlayConfig
$config
__construct()
public
__construct(string $backName, AirlayConfig $config) : mixed
Parameters
-
$backName
: string
-
-
$config
: AirlayConfig
-
Return values
mixed
—
execute()
public
execute(array<string|int, string> $queries) : array<string|int, mixed>
Parameters
-
$queries
: array<string|int, string>
-
Return values
array<string|int, mixed>
—
createErrorResponse()
protected
createErrorResponse(string $errorText[, float|null $lon = null ][, float|null $lat = null ]) : array<string|int, mixed>
Parameters
-
$errorText
: string
-
-
$lon
: float|null
= null
-
-
$lat
: float|null
= null
-
Return values
array<string|int, mixed>
—
createResultResponse()
protected
createResultResponse(array<string|int, mixed> $data[, float|null $lon = null ][, float|null $lat = null ]) : array<string|int, mixed>
Parameters
-
$data
: array<string|int, mixed>
-
-
$lon
: float|null
= null
-
-
$lat
: float|null
= null
-
Return values
array<string|int, mixed>
—
addCoordinatesInResponse()
private
addCoordinatesInResponse(array<string|int, mixed> $response, float $lon, float $lat) : array<string|int, mixed>
Parameters
-
$response
: array<string|int, mixed>
-
-
$lon
: float
-
-
$lat
: float
-
Return values
array<string|int, mixed>
—