Menu

## MultiMessageBuilder
in package
implements MessageBuilder

MultiMessageBuilder.php : 23

### Interfaces, Classes and Traits

MessageBuilder
  The interface that has a responsibility to build message.

### Table of Contents

$messageBuilders : array<string|int, MessageBuilder>
add() : MultiMessageBuilder
  Add a message builder.
buildMessage() : array<string|int, mixed>
  Builds message structure.

### Properties

#### $messageBuilders

MultiMessageBuilder.php : 26
`private array<string|int, MessageBuilder> $messageBuilders = []`

### Methods

#### add()

MultiMessageBuilder.php : 34

Add a message builder.

`public add(MessageBuilder $messageBuilder) : MultiMessageBuilder`

##### Parameters

$messageBuilder : MessageBuilder

##### Return values

MultiMessageBuilder —

$this

#### buildMessage()

MultiMessageBuilder.php : 45

Builds message structure.

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

##### Return values

array<string|int, mixed> —

Built message structure.

## Search results