@@ 181-191 (lines=11) @@ | ||
178 | /** |
|
179 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
180 | */ |
|
181 | public function __clone() |
|
182 | { |
|
183 | $vars = get_object_vars($this); |
|
184 | foreach ($vars as $key => $value) { |
|
185 | if (is_object($value)) { |
|
186 | $this->$key = clone $value; |
|
187 | } else { |
|
188 | $this->$key = $value; |
|
189 | } |
|
190 | } |
|
191 | } |
|
192 | } |
|
193 |
@@ 169-179 (lines=11) @@ | ||
166 | /** |
|
167 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
168 | */ |
|
169 | public function __clone() |
|
170 | { |
|
171 | $vars = get_object_vars($this); |
|
172 | foreach ($vars as $key => $value) { |
|
173 | if (is_object($value)) { |
|
174 | $this->$key = clone $value; |
|
175 | } else { |
|
176 | $this->$key = $value; |
|
177 | } |
|
178 | } |
|
179 | } |
|
180 | } |
|
181 |
@@ 86-96 (lines=11) @@ | ||
83 | /** |
|
84 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
85 | */ |
|
86 | public function __clone() |
|
87 | { |
|
88 | $vars = get_object_vars($this); |
|
89 | foreach ($vars as $key => $value) { |
|
90 | if (is_object($value)) { |
|
91 | $this->$key = clone $value; |
|
92 | } else { |
|
93 | $this->$key = $value; |
|
94 | } |
|
95 | } |
|
96 | } |
|
97 | } |
|
98 |
@@ 93-103 (lines=11) @@ | ||
90 | /** |
|
91 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
92 | */ |
|
93 | public function __clone() |
|
94 | { |
|
95 | $vars = get_object_vars($this); |
|
96 | foreach ($vars as $key => $value) { |
|
97 | if (is_object($value)) { |
|
98 | $this->$key = clone $value; |
|
99 | } else { |
|
100 | $this->$key = $value; |
|
101 | } |
|
102 | } |
|
103 | } |
|
104 | } |
|
105 |
@@ 137-147 (lines=11) @@ | ||
134 | /** |
|
135 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
136 | */ |
|
137 | public function __clone() |
|
138 | { |
|
139 | $vars = get_object_vars($this); |
|
140 | foreach ($vars as $key => $value) { |
|
141 | if (is_object($value)) { |
|
142 | $this->$key = clone $value; |
|
143 | } else { |
|
144 | $this->$key = $value; |
|
145 | } |
|
146 | } |
|
147 | } |
|
148 | } |
|
149 |
@@ 191-201 (lines=11) @@ | ||
188 | /** |
|
189 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
190 | */ |
|
191 | public function __clone() |
|
192 | { |
|
193 | $vars = get_object_vars($this); |
|
194 | foreach ($vars as $key => $value) { |
|
195 | if (is_object($value)) { |
|
196 | $this->$key = clone $value; |
|
197 | } else { |
|
198 | $this->$key = $value; |
|
199 | } |
|
200 | } |
|
201 | } |
|
202 | } |
|
203 |
@@ 478-488 (lines=11) @@ | ||
475 | /** |
|
476 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
477 | */ |
|
478 | public function __clone() |
|
479 | { |
|
480 | $vars = get_object_vars($this); |
|
481 | foreach ($vars as $key => $value) { |
|
482 | if (is_object($value)) { |
|
483 | $this->$key = clone $value; |
|
484 | } else { |
|
485 | $this->$key = $value; |
|
486 | } |
|
487 | } |
|
488 | } |
|
489 | } |
|
490 |
@@ 323-333 (lines=11) @@ | ||
320 | /** |
|
321 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
322 | */ |
|
323 | public function __clone() |
|
324 | { |
|
325 | $vars = get_object_vars($this); |
|
326 | foreach ($vars as $key => $value) { |
|
327 | if (is_object($value)) { |
|
328 | $this->$key = clone $value; |
|
329 | } else { |
|
330 | $this->$key = $value; |
|
331 | } |
|
332 | } |
|
333 | } |
|
334 | ||
335 | /** |
|
336 | * Convert to string |
@@ 495-505 (lines=11) @@ | ||
492 | /** |
|
493 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
494 | */ |
|
495 | public function __clone() |
|
496 | { |
|
497 | $vars = get_object_vars($this); |
|
498 | foreach ($vars as $key => $value) { |
|
499 | if (is_object($value)) { |
|
500 | $this->$key = clone $value; |
|
501 | } else { |
|
502 | $this->$key = $value; |
|
503 | } |
|
504 | } |
|
505 | } |
|
506 | ||
507 | public static function convertProperty($propertyValue, $propertyType) |
|
508 | { |
@@ 208-218 (lines=11) @@ | ||
205 | /** |
|
206 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
207 | */ |
|
208 | public function __clone() |
|
209 | { |
|
210 | $vars = get_object_vars($this); |
|
211 | foreach ($vars as $key => $value) { |
|
212 | if (is_object($value)) { |
|
213 | $this->$key = clone $value; |
|
214 | } else { |
|
215 | $this->$key = $value; |
|
216 | } |
|
217 | } |
|
218 | } |
|
219 | } |
|
220 |
@@ 190-198 (lines=9) @@ | ||
187 | /** |
|
188 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
189 | */ |
|
190 | public function __clone() |
|
191 | { |
|
192 | $vars = get_object_vars($this); |
|
193 | foreach ($vars as $key => $value) { |
|
194 | if (is_object($value)) { |
|
195 | $this->$key = clone $value; |
|
196 | } |
|
197 | } |
|
198 | } |
|
199 | } |
|
200 |
@@ 241-251 (lines=11) @@ | ||
238 | /** |
|
239 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
240 | */ |
|
241 | public function __clone() |
|
242 | { |
|
243 | $vars = get_object_vars($this); |
|
244 | foreach ($vars as $key => $value) { |
|
245 | if (is_object($value)) { |
|
246 | $this->$key = clone $value; |
|
247 | } else { |
|
248 | $this->$key = $value; |
|
249 | } |
|
250 | } |
|
251 | } |
|
252 | } |
|
253 |
@@ 502-512 (lines=11) @@ | ||
499 | /** |
|
500 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
501 | */ |
|
502 | public function __clone() |
|
503 | { |
|
504 | $vars = get_object_vars($this); |
|
505 | foreach ($vars as $key => $value) { |
|
506 | if (is_object($value)) { |
|
507 | $this->$key = clone $value; |
|
508 | } else { |
|
509 | $this->$key = $value; |
|
510 | } |
|
511 | } |
|
512 | } |
|
513 | } |
|
514 |
@@ 290-300 (lines=11) @@ | ||
287 | /** |
|
288 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
289 | */ |
|
290 | public function __clone() |
|
291 | { |
|
292 | $vars = get_object_vars($this); |
|
293 | foreach ($vars as $key => $value) { |
|
294 | if (is_object($value)) { |
|
295 | $this->$key = clone $value; |
|
296 | } else { |
|
297 | $this->$key = $value; |
|
298 | } |
|
299 | } |
|
300 | } |
|
301 | } |
|
302 |
@@ 494-504 (lines=11) @@ | ||
491 | /** |
|
492 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
493 | */ |
|
494 | public function __clone() |
|
495 | { |
|
496 | $vars = get_object_vars($this); |
|
497 | foreach ($vars as $key => $value) { |
|
498 | if (is_object($value)) { |
|
499 | $this->$key = clone $value; |
|
500 | } else { |
|
501 | $this->$key = $value; |
|
502 | } |
|
503 | } |
|
504 | } |
|
505 | } |
|
506 |
@@ 355-365 (lines=11) @@ | ||
352 | /** |
|
353 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
354 | */ |
|
355 | public function __clone() |
|
356 | { |
|
357 | $vars = get_object_vars($this); |
|
358 | foreach ($vars as $key => $value) { |
|
359 | if (is_object($value)) { |
|
360 | $this->$key = clone $value; |
|
361 | } else { |
|
362 | $this->$key = $value; |
|
363 | } |
|
364 | } |
|
365 | } |
|
366 | } |
|
367 |
@@ 218-228 (lines=11) @@ | ||
215 | /** |
|
216 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
217 | */ |
|
218 | public function __clone() |
|
219 | { |
|
220 | $vars = get_object_vars($this); |
|
221 | foreach ($vars as $key => $value) { |
|
222 | if (is_object($value)) { |
|
223 | $this->$key = clone $value; |
|
224 | } else { |
|
225 | $this->$key = $value; |
|
226 | } |
|
227 | } |
|
228 | } |
|
229 | } |
|
230 |
@@ 834-844 (lines=11) @@ | ||
831 | /** |
|
832 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
833 | */ |
|
834 | public function __clone() |
|
835 | { |
|
836 | $vars = get_object_vars($this); |
|
837 | foreach ($vars as $key => $value) { |
|
838 | if (is_object($value)) { |
|
839 | $this->$key = clone $value; |
|
840 | } else { |
|
841 | $this->$key = $value; |
|
842 | } |
|
843 | } |
|
844 | } |
|
845 | } |
|
846 |
@@ 577-587 (lines=11) @@ | ||
574 | /** |
|
575 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
576 | */ |
|
577 | public function __clone() |
|
578 | { |
|
579 | $vars = get_object_vars($this); |
|
580 | foreach ($vars as $key => $value) { |
|
581 | if (is_object($value)) { |
|
582 | $this->$key = clone $value; |
|
583 | } else { |
|
584 | $this->$key = $value; |
|
585 | } |
|
586 | } |
|
587 | } |
|
588 | } |
|
589 |
@@ 175-185 (lines=11) @@ | ||
172 | /** |
|
173 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
174 | */ |
|
175 | public function __clone() |
|
176 | { |
|
177 | $vars = get_object_vars($this); |
|
178 | foreach ($vars as $key => $value) { |
|
179 | if (is_object($value)) { |
|
180 | $this->$key = clone $value; |
|
181 | } else { |
|
182 | $this->$key = $value; |
|
183 | } |
|
184 | } |
|
185 | } |
|
186 | } |
|
187 |
@@ 247-257 (lines=11) @@ | ||
244 | /** |
|
245 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
246 | */ |
|
247 | public function __clone() |
|
248 | { |
|
249 | $vars = get_object_vars($this); |
|
250 | foreach ($vars as $key => $value) { |
|
251 | if (is_object($value)) { |
|
252 | $this->$key = clone $value; |
|
253 | } else { |
|
254 | $this->$key = $value; |
|
255 | } |
|
256 | } |
|
257 | } |
|
258 | } |
|
259 |