Menu

## BubbleStylesBuilder
in package

BubbleStylesBuilder.php : 28

A builder class for bubble styles.

### Table of Contents

$bodyStyleBuilder : BlockStyleBuilder
$footerStyleBuilder : BlockStyleBuilder
$headerStyleBuilder : BlockStyleBuilder
$heroStyleBuilder : BlockStyleBuilder
$styles : array<string|int, mixed>|null
__construct() : mixed
  BubbleStylesBuilder constructor.
build() : array<string|int, mixed>
  Builds bubble styles structure.
builder() : BubbleStylesBuilder
  Create empty BubbleStylesBuilder.
setBody() : BubbleStylesBuilder
  Set body.
setFooter() : BubbleStylesBuilder
  Set footer.
setHeader() : BubbleStylesBuilder
  Set header.
setHero() : BubbleStylesBuilder
  Set hero.

### Properties

#### $bodyStyleBuilder

BubbleStylesBuilder.php : 35
`private BlockStyleBuilder $bodyStyleBuilder`

#### $footerStyleBuilder

BubbleStylesBuilder.php : 37
`private BlockStyleBuilder $footerStyleBuilder`

#### $headerStyleBuilder

BubbleStylesBuilder.php : 31
`private BlockStyleBuilder $headerStyleBuilder`

#### $heroStyleBuilder

BubbleStylesBuilder.php : 33
`private BlockStyleBuilder $heroStyleBuilder`

#### $styles

BubbleStylesBuilder.php : 40
`private array<string|int, mixed>|null $styles`

### Methods

#### __construct()

BubbleStylesBuilder.php : 50

BubbleStylesBuilder constructor.

`public __construct([BlockStyleBuilder|null $headerStyleBuilder = null ][, BlockStyleBuilder|null $heroStyleBuilder = null ][, BlockStyleBuilder|null $bodyStyleBuilder = null ][, BlockStyleBuilder|null $footerStyleBuilder = null ]) : mixed`

##### Parameters

$headerStyleBuilder : BlockStyleBuilder|null = null
$heroStyleBuilder : BlockStyleBuilder|null = null
$bodyStyleBuilder : BlockStyleBuilder|null = null
$footerStyleBuilder : BlockStyleBuilder|null = null

##### Return values

mixed —

#### build()

BubbleStylesBuilder.php : 125

Builds bubble styles structure.

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

##### Return values

array<string|int, mixed> —

#### builder()

BubbleStylesBuilder.php : 67

Create empty BubbleStylesBuilder.

`public static builder() : BubbleStylesBuilder`

##### Return values

BubbleStylesBuilder —

#### setBody()

BubbleStylesBuilder.php : 102

Set body.

`public setBody(BlockStyleBuilder|null $bodyStyleBuilder) : BubbleStylesBuilder`

##### Parameters

$bodyStyleBuilder : BlockStyleBuilder|null

##### Return values

BubbleStylesBuilder —

#### setFooter()

BubbleStylesBuilder.php : 114

Set footer.

`public setFooter(BlockStyleBuilder|null $footerStyleBuilder) : BubbleStylesBuilder`

##### Parameters

$footerStyleBuilder : BlockStyleBuilder|null

##### Return values

BubbleStylesBuilder —

#### setHeader()

BubbleStylesBuilder.php : 78

Set header.

`public setHeader(BlockStyleBuilder|null $headerStyleBuilder) : BubbleStylesBuilder`

##### Parameters

$headerStyleBuilder : BlockStyleBuilder|null

##### Return values

BubbleStylesBuilder —

#### setHero()

BubbleStylesBuilder.php : 90

Set hero.

`public setHero(BlockStyleBuilder|null $heroStyleBuilder) : BubbleStylesBuilder`

##### Parameters

$heroStyleBuilder : BlockStyleBuilder|null

##### Return values

BubbleStylesBuilder —

## Search results