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

        $this->component = BuildUtil::removeNullElements([
            'type' => ComponentType::SEPARATOR,
            'margin' => $this->margin,
            'color' => $this->color,
        ]);

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

        $this->component = BuildUtil::removeNullElements([
            'type' => ComponentType::SEPARATOR,
            'margin' => $this->margin,
            'color' => $this->color,
        ]);

        return $this->component;
    }
public function build ( ) { if ( isset ( $ this -> component ) ) { return $ this -> component ; } $ this -> component = BuildUtil :: removeNullElements ( [ 'type' => ComponentType :: SEPARATOR , 'margin' => $ this -> margin , 'color' => $ this -> color , ] ) ; return $ this -> component ; }
Builds separator component structure.

@return array
Builds separator component structure .