@@ 89-99 (lines=11) @@ | ||
86 | /** |
|
87 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
88 | */ |
|
89 | public function __clone() |
|
90 | { |
|
91 | $vars = get_object_vars($this); |
|
92 | foreach ($vars as $key => $value) { |
|
93 | if (is_object($value)) { |
|
94 | $this->$key = clone $value; |
|
95 | } else { |
|
96 | $this->$key = $value; |
|
97 | } |
|
98 | } |
|
99 | } |
|
100 | } |
|
101 |
@@ 140-150 (lines=11) @@ | ||
137 | /** |
|
138 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
139 | */ |
|
140 | public function __clone() |
|
141 | { |
|
142 | $vars = get_object_vars($this); |
|
143 | foreach ($vars as $key => $value) { |
|
144 | if (is_object($value)) { |
|
145 | $this->$key = clone $value; |
|
146 | } else { |
|
147 | $this->$key = $value; |
|
148 | } |
|
149 | } |
|
150 | } |
|
151 | } |
|
152 |
@@ 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 | { |
@@ 214-224 (lines=11) @@ | ||
211 | /** |
|
212 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
213 | */ |
|
214 | public function __clone() |
|
215 | { |
|
216 | $vars = get_object_vars($this); |
|
217 | foreach ($vars as $key => $value) { |
|
218 | if (is_object($value)) { |
|
219 | $this->$key = clone $value; |
|
220 | } else { |
|
221 | $this->$key = $value; |
|
222 | } |
|
223 | } |
|
224 | } |
|
225 | } |
|
226 |
@@ 198-206 (lines=9) @@ | ||
195 | /** |
|
196 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
197 | */ |
|
198 | public function __clone() |
|
199 | { |
|
200 | $vars = get_object_vars($this); |
|
201 | foreach ($vars as $key => $value) { |
|
202 | if (is_object($value)) { |
|
203 | $this->$key = clone $value; |
|
204 | } |
|
205 | } |
|
206 | } |
|
207 | } |
|
208 |
@@ 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 |
@@ 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 |
@@ 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 |
@@ 255-265 (lines=11) @@ | ||
252 | /** |
|
253 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
254 | */ |
|
255 | public function __clone() |
|
256 | { |
|
257 | $vars = get_object_vars($this); |
|
258 | foreach ($vars as $key => $value) { |
|
259 | if (is_object($value)) { |
|
260 | $this->$key = clone $value; |
|
261 | } else { |
|
262 | $this->$key = $value; |
|
263 | } |
|
264 | } |
|
265 | } |
|
266 | } |
|
267 |
@@ 518-528 (lines=11) @@ | ||
515 | /** |
|
516 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
517 | */ |
|
518 | public function __clone() |
|
519 | { |
|
520 | $vars = get_object_vars($this); |
|
521 | foreach ($vars as $key => $value) { |
|
522 | if (is_object($value)) { |
|
523 | $this->$key = clone $value; |
|
524 | } else { |
|
525 | $this->$key = $value; |
|
526 | } |
|
527 | } |
|
528 | } |
|
529 | } |
|
530 |
@@ 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 |
@@ 299-309 (lines=11) @@ | ||
296 | /** |
|
297 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
298 | */ |
|
299 | public function __clone() |
|
300 | { |
|
301 | $vars = get_object_vars($this); |
|
302 | foreach ($vars as $key => $value) { |
|
303 | if (is_object($value)) { |
|
304 | $this->$key = clone $value; |
|
305 | } else { |
|
306 | $this->$key = $value; |
|
307 | } |
|
308 | } |
|
309 | } |
|
310 | } |
|
311 |
@@ 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 |
@@ 366-376 (lines=11) @@ | ||
363 | /** |
|
364 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
365 | */ |
|
366 | public function __clone() |
|
367 | { |
|
368 | $vars = get_object_vars($this); |
|
369 | foreach ($vars as $key => $value) { |
|
370 | if (is_object($value)) { |
|
371 | $this->$key = clone $value; |
|
372 | } else { |
|
373 | $this->$key = $value; |
|
374 | } |
|
375 | } |
|
376 | } |
|
377 | } |
|
378 |
@@ 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 |
@@ 862-872 (lines=11) @@ | ||
859 | /** |
|
860 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
861 | */ |
|
862 | public function __clone() |
|
863 | { |
|
864 | $vars = get_object_vars($this); |
|
865 | foreach ($vars as $key => $value) { |
|
866 | if (is_object($value)) { |
|
867 | $this->$key = clone $value; |
|
868 | } else { |
|
869 | $this->$key = $value; |
|
870 | } |
|
871 | } |
|
872 | } |
|
873 | } |
|
874 |
@@ 595-605 (lines=11) @@ | ||
592 | /** |
|
593 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
594 | */ |
|
595 | public function __clone() |
|
596 | { |
|
597 | $vars = get_object_vars($this); |
|
598 | foreach ($vars as $key => $value) { |
|
599 | if (is_object($value)) { |
|
600 | $this->$key = clone $value; |
|
601 | } else { |
|
602 | $this->$key = $value; |
|
603 | } |
|
604 | } |
|
605 | } |
|
606 | } |
|
607 |
@@ 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 |
@@ 195-205 (lines=11) @@ | ||
192 | /** |
|
193 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
194 | */ |
|
195 | public function __clone() |
|
196 | { |
|
197 | $vars = get_object_vars($this); |
|
198 | foreach ($vars as $key => $value) { |
|
199 | if (is_object($value)) { |
|
200 | $this->$key = unserialize(serialize($value)); |
|
201 | } else { |
|
202 | $this->$key = $value; |
|
203 | } |
|
204 | } |
|
205 | } |
|
206 | } |
|
207 |