@@ -18,7 +18,15 @@ |
||
18 | 18 | |
19 | 19 | interface ZoneMemberInterface extends ResourceInterface, CodeAwareInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return ZoneInterface|null |
|
23 | + */ |
|
21 | 24 | public function getBelongsTo(): ?ZoneInterface; |
22 | 25 | |
26 | + /** |
|
27 | + * @param Zone|null $belongsTo |
|
28 | + * |
|
29 | + * @return void |
|
30 | + */ |
|
23 | 31 | public function setBelongsTo(?ZoneInterface $belongsTo): void; |
24 | 32 | } |
@@ -22,6 +22,9 @@ |
||
22 | 22 | |
23 | 23 | public function getType(): string; |
24 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
25 | 28 | public function validate( |
26 | 29 | AttributeValueInterface $attributeValue, |
27 | 30 | ExecutionContextInterface $context, |
@@ -109,6 +109,7 @@ discard block |
||
109 | 109 | |
110 | 110 | /** |
111 | 111 | * {@inheritdoc} |
112 | + * @param string $type |
|
112 | 113 | */ |
113 | 114 | public function setType(?string $type): void |
114 | 115 | { |
@@ -141,6 +142,7 @@ discard block |
||
141 | 142 | |
142 | 143 | /** |
143 | 144 | * {@inheritdoc} |
145 | + * @param string $storageType |
|
144 | 146 | */ |
145 | 147 | public function setStorageType(?string $storageType): void |
146 | 148 | { |
@@ -27,22 +27,50 @@ |
||
27 | 27 | { |
28 | 28 | public function getName(): ?string; |
29 | 29 | |
30 | + /** |
|
31 | + * @return void |
|
32 | + */ |
|
30 | 33 | public function setName(?string $name): void; |
31 | 34 | |
35 | + /** |
|
36 | + * @return string |
|
37 | + */ |
|
32 | 38 | public function getType(): ?string; |
33 | 39 | |
40 | + /** |
|
41 | + * @param string $type |
|
42 | + * |
|
43 | + * @return void |
|
44 | + */ |
|
34 | 45 | public function setType(?string $type): void; |
35 | 46 | |
36 | 47 | public function getConfiguration(): array; |
37 | 48 | |
49 | + /** |
|
50 | + * @return void |
|
51 | + */ |
|
38 | 52 | public function setConfiguration(array $configuration): void; |
39 | 53 | |
54 | + /** |
|
55 | + * @return string |
|
56 | + */ |
|
40 | 57 | public function getStorageType(): ?string; |
41 | 58 | |
59 | + /** |
|
60 | + * @return void |
|
61 | + */ |
|
42 | 62 | public function setStorageType(string $storageType): void; |
43 | 63 | |
64 | + /** |
|
65 | + * @return integer |
|
66 | + */ |
|
44 | 67 | public function getPosition(): ?int; |
45 | 68 | |
69 | + /** |
|
70 | + * @param integer $position |
|
71 | + * |
|
72 | + * @return void |
|
73 | + */ |
|
46 | 74 | public function setPosition(?int $position): void; |
47 | 75 | |
48 | 76 | /** |
@@ -31,12 +31,21 @@ |
||
31 | 31 | ?string $baseLocaleCode = null |
32 | 32 | ): Collection; |
33 | 33 | |
34 | + /** |
|
35 | + * @return void |
|
36 | + */ |
|
34 | 37 | public function addAttribute(AttributeValueInterface $attribute): void; |
35 | 38 | |
39 | + /** |
|
40 | + * @return void |
|
41 | + */ |
|
36 | 42 | public function removeAttribute(AttributeValueInterface $attribute): void; |
37 | 43 | |
38 | 44 | public function hasAttribute(AttributeValueInterface $attribute): bool; |
39 | 45 | |
46 | + /** |
|
47 | + * @param string $localeCode |
|
48 | + */ |
|
40 | 49 | public function hasAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): bool; |
41 | 50 | |
42 | 51 | public function getAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): ?AttributeValueInterface; |
@@ -18,7 +18,13 @@ |
||
18 | 18 | |
19 | 19 | interface AttributeTranslationInterface extends ResourceInterface, TranslationInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return string |
|
23 | + */ |
|
21 | 24 | public function getName(): ?string; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function setName(?string $name): void; |
24 | 30 | } |
@@ -25,28 +25,55 @@ |
||
25 | 25 | public const STORAGE_JSON = 'json'; |
26 | 26 | public const STORAGE_TEXT = 'text'; |
27 | 27 | |
28 | + /** |
|
29 | + * @return AttributeSubjectInterface |
|
30 | + */ |
|
28 | 31 | public function getSubject(): ?AttributeSubjectInterface; |
29 | 32 | |
33 | + /** |
|
34 | + * @return void |
|
35 | + */ |
|
30 | 36 | public function setSubject(?AttributeSubjectInterface $subject): void; |
31 | 37 | |
38 | + /** |
|
39 | + * @return AttributeInterface |
|
40 | + */ |
|
32 | 41 | public function getAttribute(): ?AttributeInterface; |
33 | 42 | |
43 | + /** |
|
44 | + * @param \Sylius\Component\Product\Model\ProductAttributeInterface $attribute |
|
45 | + * |
|
46 | + * @return void |
|
47 | + */ |
|
34 | 48 | public function setAttribute(?AttributeInterface $attribute): void; |
35 | 49 | |
36 | 50 | public function getValue(); |
37 | 51 | |
52 | + /** |
|
53 | + * @return void |
|
54 | + */ |
|
38 | 55 | public function setValue($value): void; |
39 | 56 | |
57 | + /** |
|
58 | + * @return string |
|
59 | + */ |
|
40 | 60 | public function getCode(): ?string; |
41 | 61 | |
42 | 62 | public function getName(): ?string; |
43 | 63 | |
64 | + /** |
|
65 | + * @return string |
|
66 | + */ |
|
44 | 67 | public function getType(): ?string; |
45 | 68 | |
46 | 69 | /** |
47 | 70 | * @throws \InvalidArgumentException |
71 | + * @return string |
|
48 | 72 | */ |
49 | 73 | public function getLocaleCode(): ?string; |
50 | 74 | |
75 | + /** |
|
76 | + * @return void |
|
77 | + */ |
|
51 | 78 | public function setLocaleCode(?string $localeCode): void; |
52 | 79 | } |
@@ -15,7 +15,13 @@ |
||
15 | 15 | |
16 | 16 | interface ChannelAwareInterface |
17 | 17 | { |
18 | + /** |
|
19 | + * @return \Sylius\Component\Core\Model\ChannelInterface|null |
|
20 | + */ |
|
18 | 21 | public function getChannel(): ?ChannelInterface; |
19 | 22 | |
23 | + /** |
|
24 | + * @return void |
|
25 | + */ |
|
20 | 26 | public function setChannel(?ChannelInterface $channel): void; |
21 | 27 | } |
@@ -24,19 +24,45 @@ |
||
24 | 24 | ToggleableInterface, |
25 | 25 | ResourceInterface |
26 | 26 | { |
27 | + /** |
|
28 | + * @return string|null |
|
29 | + */ |
|
27 | 30 | public function getName(): ?string; |
28 | 31 | |
32 | + /** |
|
33 | + * @param string $name |
|
34 | + * |
|
35 | + * @return void |
|
36 | + */ |
|
29 | 37 | public function setName(?string $name): void; |
30 | 38 | |
39 | + /** |
|
40 | + * @return string|null |
|
41 | + */ |
|
31 | 42 | public function getDescription(): ?string; |
32 | 43 | |
44 | + /** |
|
45 | + * @return void |
|
46 | + */ |
|
33 | 47 | public function setDescription(?string $description): void; |
34 | 48 | |
49 | + /** |
|
50 | + * @return string|null |
|
51 | + */ |
|
35 | 52 | public function getHostname(): ?string; |
36 | 53 | |
54 | + /** |
|
55 | + * @return void |
|
56 | + */ |
|
37 | 57 | public function setHostname(?string $hostname): void; |
38 | 58 | |
59 | + /** |
|
60 | + * @return string|null |
|
61 | + */ |
|
39 | 62 | public function getColor(): ?string; |
40 | 63 | |
64 | + /** |
|
65 | + * @return void |
|
66 | + */ |
|
41 | 67 | public function setColor(?string $color): void; |
42 | 68 | } |