1 | <?php |
||
12 | class ProductBundleSlotOptions implements ProductBundleSlotOptionsInterface |
||
13 | { |
||
14 | /** @var int */ |
||
15 | private $position; |
||
16 | |||
17 | /** @var bool */ |
||
18 | private $isPresentationSlot = false; |
||
19 | |||
20 | /** @var array */ |
||
21 | private $additionalOptions = []; |
||
22 | |||
23 | public function addOption(string $name, $value): void |
||
27 | |||
28 | public function getOption(string $name) |
||
32 | |||
33 | public function setPosition(int $position): void |
||
37 | |||
38 | public function getPosition(): int |
||
42 | |||
43 | public function setAsPresentationSlot(): void |
||
47 | |||
48 | public function isPresentationSlot(): bool |
||
52 | } |
||
53 |