src/Action/Responses/BrowseCarousel.php
public function renderRichResponseItem()
    {
        $out = [];
        $carouselBrowse = [];

        if ($this->imageDisplayOptions) {
            $carouselBrowse['imageDisplayOptions'] = $this->imageDisplayOptions;
        }

        $items = [];
        foreach ($this->options as $option) {
            $items[] = $option->render();
        }

        $carouselBrowse['items'] = $items;

        $out['carouselBrowse'] = $carouselBrowse;

        return $out;
    }
public function renderRichResponseItem()
    {
        $out = [];
        $carouselBrowse = [];

        if ($this->imageDisplayOptions) {
            $carouselBrowse['imageDisplayOptions'] = $this->imageDisplayOptions;
        }

        $items = [];
        foreach ($this->options as $option) {
            $items[] = $option->render();
        }

        $carouselBrowse['items'] = $items;

        $out['carouselBrowse'] = $carouselBrowse;

        return $out;
    }
Render a single Rich Response item as array.

@return null|array