@@ -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,48 @@ |
||
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 | + * @return void |
|
71 | + */ |
|
46 | 72 | public function setPosition(?int $position): void; |
47 | 73 | |
48 | 74 | /** |
@@ -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,16 +25,31 @@ discard block |
||
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 | + * @return void |
|
45 | + */ |
|
34 | 46 | public function setAttribute(?AttributeInterface $attribute): void; |
35 | 47 | |
36 | 48 | public function getValue(); |
37 | 49 | |
50 | + /** |
|
51 | + * @return void |
|
52 | + */ |
|
38 | 53 | public function setValue($value): void; |
39 | 54 | |
40 | 55 | public function getCode(): ?string; |
@@ -45,8 +60,12 @@ discard block |
||
45 | 60 | |
46 | 61 | /** |
47 | 62 | * @throws \InvalidArgumentException |
63 | + * @return string |
|
48 | 64 | */ |
49 | 65 | public function getLocaleCode(): ?string; |
50 | 66 | |
67 | + /** |
|
68 | + * @return void |
|
69 | + */ |
|
51 | 70 | public function setLocaleCode(?string $localeCode): void; |
52 | 71 | } |