@@ -19,9 +19,18 @@ |
||
| 19 | 19 | { |
| 20 | 20 | public function isCodeDisabled(): bool; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @return void |
|
| 24 | + */ |
|
| 22 | 25 | public function setCustomerUsageLimit(int $limit): void; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function setExpiresAt(\DateTimeInterface $date): void; |
| 25 | 31 | |
| 32 | + /** |
|
| 33 | + * @return void |
|
| 34 | + */ |
|
| 26 | 35 | public function setUsageLimit(string $limit): void; |
| 27 | 36 | } |
@@ -17,9 +17,18 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface CreatePageInterface extends BaseCreatePageInteface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function specifyCode(string $code): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function nameIt(string $name): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 24 | 33 | public function specifyDescription(string $description): void; |
| 25 | 34 | } |
@@ -18,20 +18,46 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface CreatePageInterface extends BaseCreatePageInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function specifyCode(string $code): void; |
| 22 | 25 | |
| 26 | + /** |
|
| 27 | + * @param null|integer $position |
|
| 28 | + * |
|
| 29 | + * @return void |
|
| 30 | + */ |
|
| 23 | 31 | public function specifyPosition(?int $position): void; |
| 24 | 32 | |
| 33 | + /** |
|
| 34 | + * @return void |
|
| 35 | + */ |
|
| 25 | 36 | public function nameIt(string $name, string $language): void; |
| 26 | 37 | |
| 38 | + /** |
|
| 39 | + * @return void |
|
| 40 | + */ |
|
| 27 | 41 | public function describeIt(string $description, string $languageCode): void; |
| 28 | 42 | |
| 43 | + /** |
|
| 44 | + * @return void |
|
| 45 | + */ |
|
| 29 | 46 | public function specifyAmountForChannel(string $channelCode, string $amount): void; |
| 30 | 47 | |
| 48 | + /** |
|
| 49 | + * @return void |
|
| 50 | + */ |
|
| 31 | 51 | public function chooseZone(string $name): void; |
| 32 | 52 | |
| 53 | + /** |
|
| 54 | + * @return void |
|
| 55 | + */ |
|
| 33 | 56 | public function chooseCalculator(string $name): void; |
| 34 | 57 | |
| 58 | + /** |
|
| 59 | + * @return void |
|
| 60 | + */ |
|
| 35 | 61 | public function checkChannel($channelName): void; |
| 36 | 62 | |
| 37 | 63 | /** |
@@ -17,6 +17,9 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface IndexPageInterface extends BaseIndexPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function chooseArchival(string $isArchival): void; |
| 21 | 24 | |
| 22 | 25 | public function isArchivalFilterEnabled(): bool; |
@@ -22,10 +22,19 @@ |
||
| 22 | 22 | |
| 23 | 23 | public function isAvailableInChannel(string $channelName): bool; |
| 24 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 25 | 28 | public function enable(): void; |
| 26 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 27 | 33 | public function disable(): void; |
| 28 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 29 | 38 | public function removeZone(): void; |
| 30 | 39 | |
| 31 | 40 | /** |
@@ -17,9 +17,18 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface CreatePageInterface extends BaseCreatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function specifyCode(string $code): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function nameIt(string $name): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 24 | 33 | public function describeItAs(string $description): void; |
| 25 | 34 | } |
@@ -19,5 +19,8 @@ |
||
| 19 | 19 | { |
| 20 | 20 | public function isCodeDisabled(): bool; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @return void |
|
| 24 | + */ |
|
| 22 | 25 | public function nameIt(string $name): void; |
| 23 | 26 | } |
@@ -24,20 +24,36 @@ discard block |
||
| 24 | 24 | |
| 25 | 25 | public function countTaxonsByName(string $name): int; |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 27 | 30 | public function deleteTaxonOnPageByName(string $name): void; |
| 28 | 31 | |
| 32 | + /** |
|
| 33 | + * @return void |
|
| 34 | + */ |
|
| 29 | 35 | public function describeItAs(string $description, string $languageCode): void; |
| 30 | 36 | |
| 31 | 37 | public function hasTaxonWithName(string $name): bool; |
| 32 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 33 | 42 | public function nameIt(string $name, string $languageCode): void; |
| 34 | 43 | |
| 44 | + /** |
|
| 45 | + * @return void |
|
| 46 | + */ |
|
| 35 | 47 | public function specifyCode(string $code): void; |
| 36 | 48 | |
| 49 | + /** |
|
| 50 | + * @return void |
|
| 51 | + */ |
|
| 37 | 52 | public function specifySlug(string $slug, string $languageCode): void; |
| 38 | 53 | |
| 39 | 54 | /** |
| 40 | 55 | * @param string $type |
| 56 | + * @return void |
|
| 41 | 57 | */ |
| 42 | 58 | public function attachImage(string $path, string $type = null): void; |
| 43 | 59 | |
@@ -48,5 +64,8 @@ discard block |
||
| 48 | 64 | */ |
| 49 | 65 | public function getLeaves(TaxonInterface $parentTaxon = null): array; |
| 50 | 66 | |
| 67 | + /** |
|
| 68 | + * @return void |
|
| 69 | + */ |
|
| 51 | 70 | public function activateLanguageTab(string $locale): void; |
| 52 | 71 | } |
@@ -260,6 +260,9 @@ |
||
| 260 | 260 | return $images->findAll('css', 'div[data-form-collection="item"]'); |
| 261 | 261 | } |
| 262 | 262 | |
| 263 | + /** |
|
| 264 | + * @return string |
|
| 265 | + */ |
|
| 263 | 266 | private function getImageElementByType(string $type): ?NodeElement |
| 264 | 267 | { |
| 265 | 268 | $images = $this->getElement('images'); |