src/Api/Message/CarouselContent.php
protected function getButtonsApiArray()
    {
        $buttons = [];
        foreach ($this->getButtons() as $i) {
            $buttons[] = $i->toApiArray();
        }

        return $buttons;
    }
protected function getButtonsApiArray()
    {
        $buttons = [];
        foreach ($this->getButtons() as $i) {
            $buttons[] = $i->toApiArray();
        }

        return $buttons;
    }
protected function getButtonsApiArray ( ) { $ buttons = [ ] ; foreach ( $ this -> getButtons ( ) as $ i ) { $ buttons [ ] = $ i -> toApiArray ( ) ; } return $ buttons ; }
Build buttons api array

@return array
Build buttons api array