Menu

## ImageCarouselTemplateBuilder
in package
implements TemplateBuilder

ImageCarouselTemplateBuilder.php : 29

A builder class for image carousel template.

### Interfaces, Classes and Traits

TemplateBuilder
  The interface that has a responsibility to build template message.

### Table of Contents

$columnTemplateBuilders : array<string|int, ImageCarouselColumnTemplateBuilder>
$template : array<string|int, mixed>
__construct() : mixed
  ImageCarouselTemplateBuilder constructor.
buildTemplate() : array<string|int, mixed>
  Builds image carousel template structure.

### Properties

#### $columnTemplateBuilders

ImageCarouselTemplateBuilder.php : 32
`private array<string|int, ImageCarouselColumnTemplateBuilder> $columnTemplateBuilders`

#### $template

ImageCarouselTemplateBuilder.php : 35
`private array<string|int, mixed> $template`

### Methods

#### __construct()

ImageCarouselTemplateBuilder.php : 42

ImageCarouselTemplateBuilder constructor.

`public __construct(array<string|int, ImageCarouselColumnTemplateBuilder> $columnTemplateBuilders) : mixed`

##### Parameters

$columnTemplateBuilders : array<string|int, ImageCarouselColumnTemplateBuilder>

##### Return values

mixed —

#### buildTemplate()

ImageCarouselTemplateBuilder.php : 52

Builds image carousel template structure.

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

##### Return values

array<string|int, mixed> —

## Search results