Menu

## GenderDemographicFilterBuilder extends OneOfDemographicFilter
in package

GenderDemographicFilterBuilder.php : 26

A builder class for gender demographic filter

### Table of Contents

TYPE = 'gender'
$oneOf : array<string|int, string>
build() : array<string|int, mixed>
  Builds demographic filter
builder() : DemographicFilterBuilder
  Create builder
setOneOf() : $this
  Set oneOf
getType() : string
  Get type

### Constants

#### TYPE

GenderDemographicFilterBuilder.php : 28
`public mixed TYPE = 'gender'`

### Properties

#### $oneOf

OneOfDemographicFilter.php : 29
`private array<string|int, string> $oneOf = []`

### Methods

#### build()

DemographicFilterBuilder.php : 33

Builds demographic filter

`public abstract build() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

#### builder()

DemographicFilterBuilder.php : 40

Create builder

`public static builder() : DemographicFilterBuilder`

##### Return values

DemographicFilterBuilder —

#### setOneOf()

OneOfDemographicFilter.php : 44

Set oneOf

`public setOneOf(array<string|int, string> $oneOf) : $this`

##### Parameters

$oneOf : array<string|int, string>

##### Return values

$this —

#### getType()

GenderDemographicFilterBuilder.php : 35

Get type

`protected getType() : string`

##### Return values

string —

## Search results