CountriesParametersGroup
extends ParametersGroup
in package
This is the geolocation model (countries resource) parameters group class.
Table of Contents
$languageCode | : string | |
---|---|---|
$validator | : ParametersValidator | |
setLanguageCode() | Sets the language ISO code 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() | : CountriesParametersValidator |
Properties
$languageCode
protected
string
$languageCode
$validator
protected
ParametersValidator
$validator
Methods
setLanguageCode()
Sets the language ISO code parameter for this parameters group.
public
setLanguageCode(string $languageCode) : void
Parameters
- $languageCode : 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> —getInstantiatedValidator()
protected
getInstantiatedValidator() : ParametersValidator
Return values
ParametersValidator —getValidator()
protected
getValidator() : CountriesParametersValidator