CountryFilter

FinalYes

Filter object to limit countries to a subset of all countries.

Table of Contents

Properties

$excludeCountries  : array<string|int, mixed>
$onlyCountries  : array<string|int, mixed>

Methods

__construct()  : mixed
getExcludeCountries()  : array<string|int, string>
getOnlyCountries()  : array<string|int, string>
setExcludeCountries()  : $this
setOnlyCountries()  : $this

Properties

$excludeCountries

protected array<string|int, mixed> $excludeCountries = []

$onlyCountries

protected array<string|int, mixed> $onlyCountries = []

Methods

__construct()

public __construct([array<string|int, string> $excludeCountries = [] ][, array<string|int, string> $onlyCountries = [] ]) : mixed
Parameters
$excludeCountries : array<string|int, string> = []
$onlyCountries : array<string|int, string> = []

getExcludeCountries()

public getExcludeCountries() : array<string|int, string>
Return values
array<string|int, string>

getOnlyCountries()

public getOnlyCountries() : array<string|int, string>
Return values
array<string|int, string>

setExcludeCountries()

public setExcludeCountries(array<string|int, string> $excludeCountries) : $this
Parameters
$excludeCountries : array<string|int, string>
Return values
$this

setOnlyCountries()

public setOnlyCountries(array<string|int, string> $onlyCountries) : $this
Parameters
$onlyCountries : array<string|int, string>
Return values
$this

        
On this page

Search results