@@ 196-204 (lines=9) @@ | ||
193 | /** |
|
194 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
195 | */ |
|
196 | public function __clone() |
|
197 | { |
|
198 | $vars = get_object_vars($this); |
|
199 | foreach ($vars as $key => $value) { |
|
200 | if (is_object($value)) { |
|
201 | $this->$key = clone $value; |
|
202 | } |
|
203 | } |
|
204 | } |
|
205 | } |
|
206 |
@@ 216-226 (lines=11) @@ | ||
213 | /** |
|
214 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
215 | */ |
|
216 | public function __clone() |
|
217 | { |
|
218 | $vars = get_object_vars($this); |
|
219 | foreach ($vars as $key => $value) { |
|
220 | if (is_object($value)) { |
|
221 | $this->$key = clone $value; |
|
222 | } else { |
|
223 | $this->$key = $value; |
|
224 | } |
|
225 | } |
|
226 | } |
|
227 | } |
|
228 |
@@ 597-607 (lines=11) @@ | ||
594 | /** |
|
595 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
596 | */ |
|
597 | public function __clone() |
|
598 | { |
|
599 | $vars = get_object_vars($this); |
|
600 | foreach ($vars as $key => $value) { |
|
601 | if (is_object($value)) { |
|
602 | $this->$key = clone $value; |
|
603 | } else { |
|
604 | $this->$key = $value; |
|
605 | } |
|
606 | } |
|
607 | } |
|
608 | } |
|
609 |
@@ 492-502 (lines=11) @@ | ||
489 | /** |
|
490 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
491 | */ |
|
492 | public function __clone() |
|
493 | { |
|
494 | $vars = get_object_vars($this); |
|
495 | foreach ($vars as $key => $value) { |
|
496 | if (is_object($value)) { |
|
497 | $this->$key = clone $value; |
|
498 | } else { |
|
499 | $this->$key = $value; |
|
500 | } |
|
501 | } |
|
502 | } |
|
503 | } |
|
504 |
@@ 332-342 (lines=11) @@ | ||
329 | /** |
|
330 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
331 | */ |
|
332 | public function __clone() |
|
333 | { |
|
334 | $vars = get_object_vars($this); |
|
335 | foreach ($vars as $key => $value) { |
|
336 | if (is_object($value)) { |
|
337 | $this->$key = clone $value; |
|
338 | } else { |
|
339 | $this->$key = $value; |
|
340 | } |
|
341 | } |
|
342 | } |
|
343 | ||
344 | /** |
|
345 | * Convert to string. |
@@ 511-521 (lines=11) @@ | ||
508 | /** |
|
509 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
510 | */ |
|
511 | public function __clone() |
|
512 | { |
|
513 | $vars = get_object_vars($this); |
|
514 | foreach ($vars as $key => $value) { |
|
515 | if (is_object($value)) { |
|
516 | $this->$key = clone $value; |
|
517 | } else { |
|
518 | $this->$key = $value; |
|
519 | } |
|
520 | } |
|
521 | } |
|
522 | ||
523 | public static function convertProperty($propertyValue, $propertyType) |
|
524 | { |
@@ 249-259 (lines=11) @@ | ||
246 | /** |
|
247 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
248 | */ |
|
249 | public function __clone() |
|
250 | { |
|
251 | $vars = get_object_vars($this); |
|
252 | foreach ($vars as $key => $value) { |
|
253 | if (is_object($value)) { |
|
254 | $this->$key = clone $value; |
|
255 | } else { |
|
256 | $this->$key = $value; |
|
257 | } |
|
258 | } |
|
259 | } |
|
260 | } |
|
261 |
@@ 95-105 (lines=11) @@ | ||
92 | /** |
|
93 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
94 | */ |
|
95 | public function __clone() |
|
96 | { |
|
97 | $vars = get_object_vars($this); |
|
98 | foreach ($vars as $key => $value) { |
|
99 | if (is_object($value)) { |
|
100 | $this->$key = clone $value; |
|
101 | } else { |
|
102 | $this->$key = $value; |
|
103 | } |
|
104 | } |
|
105 | } |
|
106 | } |
|
107 |
@@ 225-235 (lines=11) @@ | ||
222 | /** |
|
223 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
224 | */ |
|
225 | public function __clone() |
|
226 | { |
|
227 | $vars = get_object_vars($this); |
|
228 | foreach ($vars as $key => $value) { |
|
229 | if (is_object($value)) { |
|
230 | $this->$key = clone $value; |
|
231 | } else { |
|
232 | $this->$key = $value; |
|
233 | } |
|
234 | } |
|
235 | } |
|
236 | } |
|
237 |
@@ 182-192 (lines=11) @@ | ||
179 | /** |
|
180 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
181 | */ |
|
182 | public function __clone() |
|
183 | { |
|
184 | $vars = get_object_vars($this); |
|
185 | foreach ($vars as $key => $value) { |
|
186 | if (is_object($value)) { |
|
187 | $this->$key = clone $value; |
|
188 | } else { |
|
189 | $this->$key = $value; |
|
190 | } |
|
191 | } |
|
192 | } |
|
193 | } |
|
194 |
@@ 187-197 (lines=11) @@ | ||
184 | /** |
|
185 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
186 | */ |
|
187 | public function __clone() |
|
188 | { |
|
189 | $vars = get_object_vars($this); |
|
190 | foreach ($vars as $key => $value) { |
|
191 | if (is_object($value)) { |
|
192 | $this->$key = clone $value; |
|
193 | } else { |
|
194 | $this->$key = $value; |
|
195 | } |
|
196 | } |
|
197 | } |
|
198 | } |
|
199 |
@@ 860-870 (lines=11) @@ | ||
857 | /** |
|
858 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
859 | */ |
|
860 | public function __clone() |
|
861 | { |
|
862 | $vars = get_object_vars($this); |
|
863 | foreach ($vars as $key => $value) { |
|
864 | if (is_object($value)) { |
|
865 | $this->$key = clone $value; |
|
866 | } else { |
|
867 | $this->$key = $value; |
|
868 | } |
|
869 | } |
|
870 | } |
|
871 | } |
|
872 |
@@ 197-207 (lines=11) @@ | ||
194 | /** |
|
195 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
196 | */ |
|
197 | public function __clone() |
|
198 | { |
|
199 | $vars = get_object_vars($this); |
|
200 | foreach ($vars as $key => $value) { |
|
201 | if (is_object($value)) { |
|
202 | $this->$key = unserialize(serialize($value)); |
|
203 | } else { |
|
204 | $this->$key = $value; |
|
205 | } |
|
206 | } |
|
207 | } |
|
208 | } |
|
209 |
@@ 260-270 (lines=11) @@ | ||
257 | /** |
|
258 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
259 | */ |
|
260 | public function __clone() |
|
261 | { |
|
262 | $vars = get_object_vars($this); |
|
263 | foreach ($vars as $key => $value) { |
|
264 | if (is_object($value)) { |
|
265 | $this->$key = clone $value; |
|
266 | } else { |
|
267 | $this->$key = $value; |
|
268 | } |
|
269 | } |
|
270 | } |
|
271 | } |
|
272 |
@@ 176-186 (lines=11) @@ | ||
173 | /** |
|
174 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
175 | */ |
|
176 | public function __clone() |
|
177 | { |
|
178 | $vars = get_object_vars($this); |
|
179 | foreach ($vars as $key => $value) { |
|
180 | if (is_object($value)) { |
|
181 | $this->$key = clone $value; |
|
182 | } else { |
|
183 | $this->$key = $value; |
|
184 | } |
|
185 | } |
|
186 | } |
|
187 | } |
|
188 |
@@ 143-153 (lines=11) @@ | ||
140 | /** |
|
141 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
142 | */ |
|
143 | public function __clone() |
|
144 | { |
|
145 | $vars = get_object_vars($this); |
|
146 | foreach ($vars as $key => $value) { |
|
147 | if (is_object($value)) { |
|
148 | $this->$key = clone $value; |
|
149 | } else { |
|
150 | $this->$key = $value; |
|
151 | } |
|
152 | } |
|
153 | } |
|
154 | } |
|
155 |
@@ 303-313 (lines=11) @@ | ||
300 | /** |
|
301 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
302 | */ |
|
303 | public function __clone() |
|
304 | { |
|
305 | $vars = get_object_vars($this); |
|
306 | foreach ($vars as $key => $value) { |
|
307 | if (is_object($value)) { |
|
308 | $this->$key = clone $value; |
|
309 | } else { |
|
310 | $this->$key = $value; |
|
311 | } |
|
312 | } |
|
313 | } |
|
314 | } |
|
315 |
@@ 509-519 (lines=11) @@ | ||
506 | /** |
|
507 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
508 | */ |
|
509 | public function __clone() |
|
510 | { |
|
511 | $vars = get_object_vars($this); |
|
512 | foreach ($vars as $key => $value) { |
|
513 | if (is_object($value)) { |
|
514 | $this->$key = clone $value; |
|
515 | } else { |
|
516 | $this->$key = $value; |
|
517 | } |
|
518 | } |
|
519 | } |
|
520 | } |
|
521 |
@@ 369-379 (lines=11) @@ | ||
366 | /** |
|
367 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
368 | */ |
|
369 | public function __clone() |
|
370 | { |
|
371 | $vars = get_object_vars($this); |
|
372 | foreach ($vars as $key => $value) { |
|
373 | if (is_object($value)) { |
|
374 | $this->$key = clone $value; |
|
375 | } else { |
|
376 | $this->$key = $value; |
|
377 | } |
|
378 | } |
|
379 | } |
|
380 | } |
|
381 |
@@ 92-102 (lines=11) @@ | ||
89 | /** |
|
90 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
91 | */ |
|
92 | public function __clone() |
|
93 | { |
|
94 | $vars = get_object_vars($this); |
|
95 | foreach ($vars as $key => $value) { |
|
96 | if (is_object($value)) { |
|
97 | $this->$key = clone $value; |
|
98 | } else { |
|
99 | $this->$key = $value; |
|
100 | } |
|
101 | } |
|
102 | } |
|
103 | } |
|
104 |
@@ 523-533 (lines=11) @@ | ||
520 | /** |
|
521 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
522 | */ |
|
523 | public function __clone() |
|
524 | { |
|
525 | $vars = get_object_vars($this); |
|
526 | foreach ($vars as $key => $value) { |
|
527 | if (is_object($value)) { |
|
528 | $this->$key = clone $value; |
|
529 | } else { |
|
530 | $this->$key = $value; |
|
531 | } |
|
532 | } |
|
533 | } |
|
534 | } |
|
535 |