src/LINEBot/MessageBuilder/Flex/BlockStyleBuilder.php
public function build()
    {
        if (isset($this->style)) {
            return $this->style;
        }

        $this->style = BuildUtil::removeNullElements([
            'backgroundColor' => $this->backgroundColor,
            'separator' => $this->separator,
            'separatorColor' => $this->separatorColor,
        ]);

        return $this->style;
    }
public function build()
    {
        if (isset($this->style)) {
            return $this->style;
        }

        $this->style = BuildUtil::removeNullElements([
            'backgroundColor' => $this->backgroundColor,
            'separator' => $this->separator,
            'separatorColor' => $this->separatorColor,
        ]);

        return $this->style;
    }
public function build ( ) { if ( isset ( $ this -> style ) ) { return $ this -> style ; } $ this -> style = BuildUtil :: removeNullElements ( [ 'backgroundColor' => $ this -> backgroundColor , 'separator' => $ this -> separator , 'separatorColor' => $ this -> separatorColor , ] ) ; return $ this -> style ; }
Builds block style structure.

@return array
Builds block style structure .