@@ -17,5 +17,8 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface PromotionProcessorInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function process(PromotionSubjectInterface $subject): void; |
| 21 | 24 | } |
@@ -22,11 +22,13 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * @throws ExistingServiceException |
| 24 | 24 | * @throws \InvalidArgumentException |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function register(string $identifier, $service): void; |
| 27 | 28 | |
| 28 | 29 | /** |
| 29 | 30 | * @throws NonExistingServiceException |
| 31 | + * @return void |
|
| 30 | 32 | */ |
| 31 | 33 | public function unregister(string $identifier): void; |
| 32 | 34 | |
@@ -33,7 +33,13 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | public function getByClass(string $className): MetadataInterface; |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @return void |
|
| 38 | + */ |
|
| 36 | 39 | public function add(MetadataInterface $metadata): void; |
| 37 | 40 | |
| 41 | + /** |
|
| 42 | + * @return void |
|
| 43 | + */ |
|
| 38 | 44 | public function addFromAliasAndConfiguration(string $alias, array $configuration): void; |
| 39 | 45 | } |
@@ -17,5 +17,8 @@ |
||
| 17 | 17 | { |
| 18 | 18 | public function getArchivedAt(): ?\DateTimeInterface; |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function setArchivedAt(?\DateTimeInterface $archivedAt): void; |
| 21 | 24 | } |
@@ -15,7 +15,13 @@ |
||
| 15 | 15 | |
| 16 | 16 | interface CodeAwareInterface |
| 17 | 17 | { |
| 18 | + /** |
|
| 19 | + * @return string|null |
|
| 20 | + */ |
|
| 18 | 21 | public function getCode(): ?string; |
| 19 | 22 | |
| 23 | + /** |
|
| 24 | + * @return void |
|
| 25 | + */ |
|
| 20 | 26 | public function setCode(?string $code): void; |
| 21 | 27 | } |
@@ -17,5 +17,8 @@ |
||
| 17 | 17 | { |
| 18 | 18 | public function getSlug(): ?string; |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function setSlug(?string $slug): void; |
| 21 | 24 | } |
@@ -26,11 +26,23 @@ |
||
| 26 | 26 | |
| 27 | 27 | public function hasTranslation(TranslationInterface $translation): bool; |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @return void |
|
| 31 | + */ |
|
| 29 | 32 | public function addTranslation(TranslationInterface $translation): void; |
| 30 | 33 | |
| 34 | + /** |
|
| 35 | + * @return void |
|
| 36 | + */ |
|
| 31 | 37 | public function removeTranslation(TranslationInterface $translation): void; |
| 32 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 33 | 42 | public function setCurrentLocale(string $locale): void; |
| 34 | 43 | |
| 44 | + /** |
|
| 45 | + * @return void |
|
| 46 | + */ |
|
| 35 | 47 | public function setFallbackLocale(string $locale): void; |
| 36 | 48 | } |
@@ -17,9 +17,20 @@ |
||
| 17 | 17 | { |
| 18 | 18 | public function getTranslatable(): TranslatableInterface; |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @param TranslatableTrait|null $translatable |
|
| 22 | + * |
|
| 23 | + * @return void |
|
| 24 | + */ |
|
| 20 | 25 | public function setTranslatable(?TranslatableInterface $translatable): void; |
| 21 | 26 | |
| 27 | + /** |
|
| 28 | + * @return string|null |
|
| 29 | + */ |
|
| 22 | 30 | public function getLocale(): ?string; |
| 23 | 31 | |
| 32 | + /** |
|
| 33 | + * @return void |
|
| 34 | + */ |
|
| 24 | 35 | public function setLocale(?string $locale): void; |
| 25 | 36 | } |
@@ -15,7 +15,13 @@ |
||
| 15 | 15 | |
| 16 | 16 | interface VersionedInterface |
| 17 | 17 | { |
| 18 | + /** |
|
| 19 | + * @return integer |
|
| 20 | + */ |
|
| 18 | 21 | public function getVersion(): ?int; |
| 19 | 22 | |
| 23 | + /** |
|
| 24 | + * @return void |
|
| 25 | + */ |
|
| 20 | 26 | public function setVersion(?int $version): void; |
| 21 | 27 | } |