Menu

## EmojiTextBuilder
in package

EmojiTextBuilder.php : 28

A builder class for emoji text.

### Table of Contents

$emojis : array<string|int, EmojiBuilder>
$emojiText : array<string|int, mixed>
$text : string
__construct() : mixed
  EmojiTextBuilder constructor.
build() : array<string|int, mixed>
  Build text.

### Properties

#### $emojis

EmojiTextBuilder.php : 34
`private array<string|int, EmojiBuilder> $emojis`

#### $emojiText

EmojiTextBuilder.php : 37
`private array<string|int, mixed> $emojiText`

#### $text

EmojiTextBuilder.php : 31
`private string $text`

### Methods

#### __construct()

EmojiTextBuilder.php : 45

EmojiTextBuilder constructor.

`public __construct(string $text, array<string|int, mixed> $emojis) : mixed`

##### Parameters

$text : string

  Message text.

$emojis : array<string|int, mixed>

  One or more LINE emoji. Max: 20 LINE emoji.

##### Return values

mixed —

#### build()

EmojiTextBuilder.php : 57

Build text.

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

##### Return values

array<string|int, mixed> —

## Search results