| 1 | <?php |
||
| 13 | class ProductBundleSlotOptions implements ProductBundleSlotOptionsInterface |
||
| 14 | { |
||
| 15 | /** @var int */ |
||
| 16 | private $position; |
||
| 17 | |||
| 18 | /** @var bool */ |
||
| 19 | private $isPresentationSlot = false; |
||
| 20 | |||
| 21 | /** @var mixed[] */ |
||
| 22 | private $additionalOptions = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | public function addOption(string $name, $value): void |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function getOption(string $name) |
||
| 39 | |||
| 40 | public function setPosition(int $position): void |
||
| 44 | |||
| 45 | public function getPosition(): int |
||
| 49 | |||
| 50 | public function setAsPresentationSlot(): void |
||
| 54 | |||
| 55 | public function isPresentationSlot(): bool |
||
| 59 | } |
||
| 60 |