Menu

## CarouselColumnTemplateBuilder
in package
implements TemplateBuilder

CarouselColumnTemplateBuilder.php : 29

A builder class for column of carousel template.

### Interfaces, Classes and Traits

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

### Table of Contents

$actionBuilders : array<string|int, TemplateActionBuilder>
$defaultAction : TemplateActionBuilder|null
$imageBackgroundColor : string
$template : array<string|int, mixed>
$text : string
$thumbnailImageUrl : string
$title : string
__construct() : mixed
  CarouselColumnTemplateBuilder constructor.
buildTemplate() : array<string|int, mixed>
  Builds column of carousel template structure.

### Properties

#### $actionBuilders

CarouselColumnTemplateBuilder.php : 40
`private array<string|int, TemplateActionBuilder> $actionBuilders`

#### $defaultAction

CarouselColumnTemplateBuilder.php : 48
`private TemplateActionBuilder|null $defaultAction`

#### $imageBackgroundColor

CarouselColumnTemplateBuilder.php : 38
`private string $imageBackgroundColor`

#### $template

CarouselColumnTemplateBuilder.php : 43
`private array<string|int, mixed> $template`

#### $text

CarouselColumnTemplateBuilder.php : 34
`private string $text`

#### $thumbnailImageUrl

CarouselColumnTemplateBuilder.php : 36
`private string $thumbnailImageUrl`

#### $title

CarouselColumnTemplateBuilder.php : 32
`private string $title`

### Methods

#### __construct()

CarouselColumnTemplateBuilder.php : 60

CarouselColumnTemplateBuilder constructor.

`public __construct(string $title, string $text, string $thumbnailImageUrl, array<string|int, TemplateActionBuilder> $actionBuilders[, string|null $imageBackgroundColor = null ][, TemplateActionBuilder|null $defaultAction = null ]) : mixed`

##### Parameters

$title : string
$text : string
$thumbnailImageUrl : string
$actionBuilders : array<string|int, TemplateActionBuilder>
$imageBackgroundColor : string|null = null
$defaultAction : TemplateActionBuilder|null = null

##### Return values

mixed —

#### buildTemplate()

CarouselColumnTemplateBuilder.php : 81

Builds column of carousel template structure.

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

##### Return values

array<string|int, mixed> —

## Search results