src/Action/Questions/Carousel.php
public function renderSystemIntent()
    {
        $out = [];
        $items = [];

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

        $out['intent'] = 'actions.intent.OPTION';
        $out['data'] = [
            '@type'          => 'type.googleapis.com/google.actions.v2.OptionValueSpec',
            'carouselSelect' => [
                'imageDisplayOptions' => $this->imageDisplayOptions,
                'items'               => $items,
            ],
        ];

        return $out;
    }
public function renderSystemIntent()
    {
        $out = [];
        $items = [];

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

        $out['intent'] = 'actions.intent.OPTION';
        $out['data'] = [
            '@type'          => 'type.googleapis.com/google.actions.v2.OptionValueSpec',
            'carouselSelect' => [
                'imageDisplayOptions' => $this->imageDisplayOptions,
                'items'               => $items,
            ],
        ];

        return $out;
    }
public function renderSystemIntent ( ) { $ out = [ ] ; $ items = [ ] ; foreach ( $ this -> options as $ option ) { $ items [ ] = $ option -> render ( ) ; } $ out [ 'intent' ] = 'actions.intent.OPTION' ; $ out [ 'data' ] = [ '@type' => 'type.googleapis.com/google.actions.v2.OptionValueSpec' , 'carouselSelect' => [ 'imageDisplayOptions' => $ this -> imageDisplayOptions , 'items' => $ items , ] , ] ; return $ out ; }
Render System Intent as array.

@return null|array
Render System Intent as array .