examples/KitchenSink/src/LINEBot/KitchenSink/EventHandler/MessageHandler/Flex/FlexSampleRestaurant.php
public static function get()
    {
        return FlexMessageBuilder::builder()
            ->setAltText('Restaurant')
            ->setContents(
                BubbleContainerBuilder::builder()
                    ->setHero(self::createHeroBlock())
                    ->setBody(self::createBodyBlock())
                    ->setFooter(self::createFooterBlock())
            );
    }
public static function get()
    {
        return FlexMessageBuilder::builder()
            ->setAltText('Restaurant')
            ->setContents(
                BubbleContainerBuilder::builder()
                    ->setHero(self::createHeroBlock())
                    ->setBody(self::createBodyBlock())
                    ->setFooter(self::createFooterBlock())
            );
    }
public static function get ( ) { return FlexMessageBuilder :: builder ( ) -> setAltText ( 'Restaurant' ) -> setContents ( BubbleContainerBuilder :: builder ( ) -> setHero ( self :: createHeroBlock ( ) ) -> setBody ( self :: createBodyBlock ( ) ) -> setFooter ( self :: createFooterBlock ( ) ) ) ; }
Create sample restaurant flex message

@return \LINE\LINEBot\MessageBuilder\FlexMessageBuilder
Create sample restaurant flex message