@@ -90,6 +90,9 @@ |
||
90 | 90 | return $this->name; |
91 | 91 | } |
92 | 92 | |
93 | + /** |
|
94 | + * @param string $name |
|
95 | + */ |
|
93 | 96 | public function setName($name) |
94 | 97 | { |
95 | 98 | $this->name = $name; |
@@ -89,6 +89,7 @@ |
||
89 | 89 | |
90 | 90 | /** |
91 | 91 | * Set file |
92 | + * @param DDC1392File $value |
|
92 | 93 | */ |
93 | 94 | public function setFile($value = null) |
94 | 95 | { |
@@ -170,6 +170,9 @@ |
||
170 | 170 | return $this->id; |
171 | 171 | } |
172 | 172 | |
173 | + /** |
|
174 | + * @param string $status |
|
175 | + */ |
|
173 | 176 | public function __construct($status) |
174 | 177 | { |
175 | 178 | $this->status = $status; |
@@ -81,6 +81,9 @@ |
||
81 | 81 | return $this->parent; |
82 | 82 | } |
83 | 83 | |
84 | + /** |
|
85 | + * @param null|DDC1436Page $parent |
|
86 | + */ |
|
84 | 87 | public function setParent($parent) |
85 | 88 | { |
86 | 89 | $this->parent = $parent; |
@@ -85,6 +85,7 @@ discard block |
||
85 | 85 | |
86 | 86 | /** |
87 | 87 | * Set file |
88 | + * @param DDC1509File $value |
|
88 | 89 | */ |
89 | 90 | public function setFile($value = null) |
90 | 91 | { |
@@ -104,6 +105,9 @@ discard block |
||
104 | 105 | return $this->thumbnail; |
105 | 106 | } |
106 | 107 | |
108 | + /** |
|
109 | + * @param DDC1509File $thumbnail |
|
110 | + */ |
|
107 | 111 | public function setThumbnail($thumbnail) |
108 | 112 | { |
109 | 113 | $this->thumbnail = $thumbnail; |
@@ -83,6 +83,9 @@ discard block |
||
83 | 83 | } |
84 | 84 | } |
85 | 85 | |
86 | + /** |
|
87 | + * @param string $propName |
|
88 | + */ |
|
86 | 89 | protected function onPropertyChanged($propName, $oldValue, $newValue) { |
87 | 90 | if ($this->listeners) { |
88 | 91 | foreach ($this->listeners as $listener) { |
@@ -111,11 +114,17 @@ discard block |
||
111 | 114 | return $this->name; |
112 | 115 | } |
113 | 116 | |
117 | + /** |
|
118 | + * @param string $name |
|
119 | + */ |
|
114 | 120 | function setName($name) { |
115 | 121 | $this->onPropertyChanged('name', $this->name, $name); |
116 | 122 | $this->name = $name; |
117 | 123 | } |
118 | 124 | |
125 | + /** |
|
126 | + * @param DDC1690Child $child |
|
127 | + */ |
|
119 | 128 | function setChild($child) { |
120 | 129 | $this->child = $child; |
121 | 130 | } |
@@ -144,11 +153,17 @@ discard block |
||
144 | 153 | return $this->name; |
145 | 154 | } |
146 | 155 | |
156 | + /** |
|
157 | + * @param string $name |
|
158 | + */ |
|
147 | 159 | function setName($name) { |
148 | 160 | $this->onPropertyChanged('name', $this->name, $name); |
149 | 161 | $this->name = $name; |
150 | 162 | } |
151 | 163 | |
164 | + /** |
|
165 | + * @param DDC1690Parent $parent |
|
166 | + */ |
|
152 | 167 | function setParent($parent) { |
153 | 168 | $this->parent = $parent; |
154 | 169 | } |
@@ -106,6 +106,9 @@ |
||
106 | 106 | */ |
107 | 107 | private $value; |
108 | 108 | |
109 | + /** |
|
110 | + * @param string $value |
|
111 | + */ |
|
109 | 112 | public function __construct($value) |
110 | 113 | { |
111 | 114 | $this->value = $value; |
@@ -169,7 +169,6 @@ discard block |
||
169 | 169 | * |
170 | 170 | * @param User $user |
171 | 171 | * @param User $followedUser |
172 | - * @param bool $giveAgency |
|
173 | 172 | */ |
174 | 173 | public function __construct(User $user, User $followedUser) |
175 | 174 | { |
@@ -247,7 +246,7 @@ discard block |
||
247 | 246 | * Add followedUsers |
248 | 247 | * |
249 | 248 | * @param UserFollowedUser $followedUsers |
250 | - * @return User |
|
249 | + * @return DDC2138User |
|
251 | 250 | */ |
252 | 251 | public function addFollowedUser(UserFollowedUser $followedUsers) |
253 | 252 | { |
@@ -260,7 +259,7 @@ discard block |
||
260 | 259 | * Remove followedUsers |
261 | 260 | * |
262 | 261 | * @param UserFollowedUser $followedUsers |
263 | - * @return User |
|
262 | + * @return DDC2138User |
|
264 | 263 | */ |
265 | 264 | public function removeFollowedUser(UserFollowedUser $followedUsers) |
266 | 265 | { |
@@ -272,7 +271,7 @@ discard block |
||
272 | 271 | /** |
273 | 272 | * Get followedUsers |
274 | 273 | * |
275 | - * @return Doctrine\Common\Collections\Collection |
|
274 | + * @return ArrayCollection |
|
276 | 275 | */ |
277 | 276 | public function getFollowedUsers() |
278 | 277 | { |
@@ -283,7 +282,7 @@ discard block |
||
283 | 282 | * Add followedStructures |
284 | 283 | * |
285 | 284 | * @param UserFollowedStructure $followedStructures |
286 | - * @return User |
|
285 | + * @return DDC2138User |
|
287 | 286 | */ |
288 | 287 | public function addFollowedStructure(UserFollowedStructure $followedStructures) |
289 | 288 | { |
@@ -296,7 +295,7 @@ discard block |
||
296 | 295 | * Remove followedStructures |
297 | 296 | * |
298 | 297 | * @param UserFollowedStructure $followedStructures |
299 | - * @return User |
|
298 | + * @return DDC2138User |
|
300 | 299 | */ |
301 | 300 | public function removeFollowedStructure(UserFollowedStructure $followedStructures) |
302 | 301 | { |
@@ -308,7 +307,7 @@ discard block |
||
308 | 307 | /** |
309 | 308 | * Get followedStructures |
310 | 309 | * |
311 | - * @return Doctrine\Common\Collections\Collection |
|
310 | + * @return ArrayCollection |
|
312 | 311 | */ |
313 | 312 | public function getFollowedStructures() |
314 | 313 | { |
@@ -217,6 +217,9 @@ |
||
217 | 217 | $this->privileges = new ArrayCollection(); |
218 | 218 | } |
219 | 219 | |
220 | + /** |
|
221 | + * @param DDC2252Privilege $privilege |
|
222 | + */ |
|
220 | 223 | public function addPrivilege($privilege) |
221 | 224 | { |
222 | 225 | $this->privileges[] = $privilege; |