<?php declare(strict_types=1);
namespace Shopware\Core\Content\Cms\SalesChannel\Struct;
use Shopware\Core\Framework\Struct\Struct;
class ImageSliderStruct extends Struct
{
/**
* @var array|null
*/
protected $navigation;
/**
* @var ImageSliderItemStruct[]|null
*/
protected $sliderItems = [];
/**
* @return ImageSliderItemStruct[]|null
*/
public function getSliderItems(): ?array
{
return $this->sliderItems;
}
/**
* @param ImageSliderItemStruct[]|null $sliderItems
*/
public function setSliderItems(?array $sliderItems): void
{
$this->sliderItems = $sliderItems;
}
public function addSliderItem(ImageSliderItemStruct $sliderItem): void
{
$this->sliderItems[] = $sliderItem;
}
public function getNavigation(): ?array
{
return $this->navigation;
}
public function setNavigation(?array $navigation): void
{
$this->navigation = $navigation;
}
public function getApiAlias(): string
{
return 'cms_image_slider';
}
}