SpanComponentBuilder

A builder class for span component.
implements LINE\LINEBot\MessageBuilder\Flex\ComponentBuilder
Methods Summary
public
# __construct( $text , $size = NULL, $color = NULL, $weight = NULL, $style = NULL, $decoration = NULL )
public static
# builder( )
Create empty TextComponentBuilder.
public
# setText( string $text )
Set text.
public
# setSize( \ComponentFontSize|string|null $size )
Set size.
public
# setWeight( \ComponentFontWeight|string|null $weight )
Set weight.
public
# setColor( string|null $color )
Set color.
public
# setStyle( string|null $style )
Set style.
public
# setDecoration( string|null $decoration )
Set decoration.
public