@@ -17,12 +17,19 @@ |
||
17 | 17 | { |
18 | 18 | public function findAll(): array; |
19 | 19 | |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function add(array $configuration): void; |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function remove(string $themeName): void; |
23 | 29 | |
24 | 30 | /** |
25 | 31 | * Clear currently used configurations storage. |
32 | + * @return void |
|
26 | 33 | */ |
27 | 34 | public function clear(): void; |
28 | 35 | } |
@@ -19,6 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | /** |
21 | 21 | * @throws CircularDependencyFoundException |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function check(ThemeInterface $theme): void; |
24 | 25 | } |
@@ -19,12 +19,24 @@ discard block |
||
19 | 19 | |
20 | 20 | public function getPath(): string; |
21 | 21 | |
22 | + /** |
|
23 | + * @return string|null |
|
24 | + */ |
|
22 | 25 | public function getTitle(): ?string; |
23 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
24 | 30 | public function setTitle(?string $title): void; |
25 | 31 | |
32 | + /** |
|
33 | + * @return string|null |
|
34 | + */ |
|
26 | 35 | public function getDescription(): ?string; |
27 | 36 | |
37 | + /** |
|
38 | + * @return void |
|
39 | + */ |
|
28 | 40 | public function setDescription(?string $description): void; |
29 | 41 | |
30 | 42 | /** |
@@ -32,8 +44,14 @@ discard block |
||
32 | 44 | */ |
33 | 45 | public function getAuthors(): array; |
34 | 46 | |
47 | + /** |
|
48 | + * @return void |
|
49 | + */ |
|
35 | 50 | public function addAuthor(ThemeAuthor $author): void; |
36 | 51 | |
52 | + /** |
|
53 | + * @return void |
|
54 | + */ |
|
37 | 55 | public function removeAuthor(ThemeAuthor $author): void; |
38 | 56 | |
39 | 57 | /** |
@@ -43,11 +61,13 @@ discard block |
||
43 | 61 | |
44 | 62 | /** |
45 | 63 | * @param ThemeInterface $theme |
64 | + * @return void |
|
46 | 65 | */ |
47 | 66 | public function addParent(self $theme): void; |
48 | 67 | |
49 | 68 | /** |
50 | 69 | * @param ThemeInterface $theme |
70 | + * @return void |
|
51 | 71 | */ |
52 | 72 | public function removeParent(self $theme): void; |
53 | 73 | |
@@ -56,7 +76,13 @@ discard block |
||
56 | 76 | */ |
57 | 77 | public function getScreenshots(): array; |
58 | 78 | |
79 | + /** |
|
80 | + * @return void |
|
81 | + */ |
|
59 | 82 | public function addScreenshot(ThemeScreenshot $screenshot): void; |
60 | 83 | |
84 | + /** |
|
85 | + * @return void |
|
86 | + */ |
|
61 | 87 | public function removeScreenshot(ThemeScreenshot $screenshot): void; |
62 | 88 | } |
@@ -22,7 +22,13 @@ |
||
22 | 22 | */ |
23 | 23 | public function findAll(): array; |
24 | 24 | |
25 | + /** |
|
26 | + * @return ThemeInterface|null |
|
27 | + */ |
|
25 | 28 | public function findOneByName(string $name): ?ThemeInterface; |
26 | 29 | |
30 | + /** |
|
31 | + * @return ThemeInterface|null |
|
32 | + */ |
|
27 | 33 | public function findOneByTitle(string $title): ?ThemeInterface; |
28 | 34 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface UserReloaderInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function reloadUser(UserInterface $user): void; |
21 | 24 | } |
@@ -17,5 +17,10 @@ |
||
17 | 17 | |
18 | 18 | interface UserLoginInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @param string $firewallName |
|
22 | + * |
|
23 | + * @return void |
|
24 | + */ |
|
20 | 25 | public function login(UserInterface $user, ?string $firewallName = null); |
21 | 26 | } |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * Returns the best matching zone for given address. |
23 | + * @return \Sylius\Component\Core\Model\OrderInterface |
|
23 | 24 | */ |
24 | 25 | public function match(AddressInterface $address, ?string $scope = null): ?ZoneInterface; |
25 | 26 |
@@ -18,45 +18,108 @@ |
||
18 | 18 | |
19 | 19 | interface AddressInterface extends TimestampableInterface, ResourceInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return string|null |
|
23 | + */ |
|
21 | 24 | public function getFirstName(): ?string; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function setFirstName(?string $firstName): void; |
24 | 30 | |
31 | + /** |
|
32 | + * @return string|null |
|
33 | + */ |
|
25 | 34 | public function getLastName(): ?string; |
26 | 35 | |
36 | + /** |
|
37 | + * @return void |
|
38 | + */ |
|
27 | 39 | public function setLastName(?string $lastName): void; |
28 | 40 | |
41 | + /** |
|
42 | + * @return string |
|
43 | + */ |
|
29 | 44 | public function getFullName(): ?string; |
30 | 45 | |
46 | + /** |
|
47 | + * @return string|null |
|
48 | + */ |
|
31 | 49 | public function getPhoneNumber(): ?string; |
32 | 50 | |
51 | + /** |
|
52 | + * @return void |
|
53 | + */ |
|
33 | 54 | public function setPhoneNumber(?string $phoneNumber): void; |
34 | 55 | |
56 | + /** |
|
57 | + * @return string|null |
|
58 | + */ |
|
35 | 59 | public function getCompany(): ?string; |
36 | 60 | |
61 | + /** |
|
62 | + * @return void |
|
63 | + */ |
|
37 | 64 | public function setCompany(?string $company): void; |
38 | 65 | |
66 | + /** |
|
67 | + * @return string|null |
|
68 | + */ |
|
39 | 69 | public function getCountryCode(): ?string; |
40 | 70 | |
71 | + /** |
|
72 | + * @return void |
|
73 | + */ |
|
41 | 74 | public function setCountryCode(?string $countryCode): void; |
42 | 75 | |
76 | + /** |
|
77 | + * @return string|null |
|
78 | + */ |
|
43 | 79 | public function getProvinceCode(): ?string; |
44 | 80 | |
81 | + /** |
|
82 | + * @return void |
|
83 | + */ |
|
45 | 84 | public function setProvinceCode(?string $provinceCode): void; |
46 | 85 | |
86 | + /** |
|
87 | + * @return string|null |
|
88 | + */ |
|
47 | 89 | public function getProvinceName(): ?string; |
48 | 90 | |
91 | + /** |
|
92 | + * @return void |
|
93 | + */ |
|
49 | 94 | public function setProvinceName(?string $provinceName): void; |
50 | 95 | |
96 | + /** |
|
97 | + * @return string|null |
|
98 | + */ |
|
51 | 99 | public function getStreet(): ?string; |
52 | 100 | |
101 | + /** |
|
102 | + * @return void |
|
103 | + */ |
|
53 | 104 | public function setStreet(?string $street): void; |
54 | 105 | |
106 | + /** |
|
107 | + * @return string|null |
|
108 | + */ |
|
55 | 109 | public function getCity(): ?string; |
56 | 110 | |
111 | + /** |
|
112 | + * @return void |
|
113 | + */ |
|
57 | 114 | public function setCity(?string $city): void; |
58 | 115 | |
116 | + /** |
|
117 | + * @return string|null |
|
118 | + */ |
|
59 | 119 | public function getPostcode(): ?string; |
60 | 120 | |
121 | + /** |
|
122 | + * @return void |
|
123 | + */ |
|
61 | 124 | public function setPostcode(?string $postcode): void; |
62 | 125 | } |
@@ -18,15 +18,33 @@ |
||
18 | 18 | |
19 | 19 | interface ProvinceInterface extends ResourceInterface, CodeAwareInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return string|null |
|
23 | + */ |
|
21 | 24 | public function getName(): ?string; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function setName(?string $name): void; |
24 | 30 | |
31 | + /** |
|
32 | + * @return string|null |
|
33 | + */ |
|
25 | 34 | public function getAbbreviation(): ?string; |
26 | 35 | |
36 | + /** |
|
37 | + * @return void |
|
38 | + */ |
|
27 | 39 | public function setAbbreviation(?string $abbreviation): void; |
28 | 40 | |
41 | + /** |
|
42 | + * @return CountryInterface|null |
|
43 | + */ |
|
29 | 44 | public function getCountry(): ?CountryInterface; |
30 | 45 | |
46 | + /** |
|
47 | + * @return void |
|
48 | + */ |
|
31 | 49 | public function setCountry(?CountryInterface $country): void; |
32 | 50 | } |