LocalitiesParametersGroup extends ParametersGroup

This is the geolocation model (localities resource) parameters group class.

Table of Contents

$countryCode  : string
$q  : string
$validator  : ParametersValidator
setCountryCode() Sets the country ISO identifier parameter for this parameters group.  : void
setQ() Sets a search query 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()  : LocalitiesParametersValidator

Properties

Methods

setCountryCode()

Sets the country ISO identifier parameter for this parameters group.

public setCountryCode(string $countryCode) : void
Parameters
$countryCode : string
Return values
void

setQ()

Sets a search query parameter for this parameters group.

public setQ(string $q) : void
Parameters
$q : string
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>

Search results