@@ 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 |
@@ 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 |
@@ 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 |
@@ 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 |
@@ 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 |
@@ 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 |
@@ 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 |
@@ 256-266 (lines=11) @@ | ||
253 | /** |
|
254 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
255 | */ |
|
256 | public function __clone() |
|
257 | { |
|
258 | $vars = get_object_vars($this); |
|
259 | foreach ($vars as $key => $value) { |
|
260 | if (is_object($value)) { |
|
261 | $this->$key = clone $value; |
|
262 | } else { |
|
263 | $this->$key = $value; |
|
264 | } |
|
265 | } |
|
266 | } |
|
267 | } |
|
268 |
@@ 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 |
@@ 507-517 (lines=11) @@ | ||
504 | /** |
|
505 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
506 | */ |
|
507 | public function __clone() |
|
508 | { |
|
509 | $vars = get_object_vars($this); |
|
510 | foreach ($vars as $key => $value) { |
|
511 | if (is_object($value)) { |
|
512 | $this->$key = clone $value; |
|
513 | } else { |
|
514 | $this->$key = $value; |
|
515 | } |
|
516 | } |
|
517 | } |
|
518 | } |
|
519 |
@@ 858-868 (lines=11) @@ | ||
855 | /** |
|
856 | * Implement PHP __clone to create a deep clone, not just a shallow copy. |
|
857 | */ |
|
858 | public function __clone() |
|
859 | { |
|
860 | $vars = get_object_vars($this); |
|
861 | foreach ($vars as $key => $value) { |
|
862 | if (is_object($value)) { |
|
863 | $this->$key = clone $value; |
|
864 | } else { |
|
865 | $this->$key = $value; |
|
866 | } |
|
867 | } |
|
868 | } |
|
869 | } |
|
870 |