Menu

## OperatorRecipientBuilder extends RecipientBuilder
in package

OperatorRecipientBuilder.php : 26

A builder class for operator recipient

### Table of Contents

TYPE = 'operator'
$children : array<string|int, \LINE\LINEBot\Narrowcast\Recipient\RecipientBuilder|\LINE\LINEBot\Narrowcast\Recipient\RecipientBuilder[]>
$operator : string
build() : array<string|int, mixed>
  Builds recipient
builder() : RecipientBuilder
  Create builder
setAnd() : $this
  Set filters with 'and' operation
setNot() : $this
  Set filters with 'not' operation
setOr() : $this
  Set filters with 'or' operation

### Constants

#### TYPE

OperatorRecipientBuilder.php : 28
`public mixed TYPE = 'operator'`

### Properties

#### $children

OperatorRecipientBuilder.php : 34
`private array<string|int, \LINE\LINEBot\Narrowcast\Recipient\RecipientBuilder|\LINE\LINEBot\Narrowcast\Recipient\RecipientBuilder[]> $children = []`

#### $operator

OperatorRecipientBuilder.php : 31
`private string $operator`

### Methods

#### build()

OperatorRecipientBuilder.php : 80

Builds recipient

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

##### Return values

array<string|int, mixed> —

#### builder()

RecipientBuilder.php : 40

Create builder

`public static builder() : RecipientBuilder`

##### Return values

RecipientBuilder —

#### setAnd()

OperatorRecipientBuilder.php : 42

Set filters with 'and' operation

`public setAnd(array<string|int, RecipientBuilder> $recipientBuilders) : $this`

##### Parameters

$recipientBuilders : array<string|int, RecipientBuilder>

##### Return values

$this —

#### setNot()

OperatorRecipientBuilder.php : 68

Set filters with 'not' operation

`public setNot(RecipientBuilder $recipientBuilder) : $this`

##### Parameters

$recipientBuilder : RecipientBuilder

##### Return values

$this —

#### setOr()

OperatorRecipientBuilder.php : 55

Set filters with 'or' operation

`public setOr(array<string|int, RecipientBuilder> $recipientBuilders) : $this`

##### Parameters

$recipientBuilders : array<string|int, RecipientBuilder>

##### Return values

$this —

## Search results