| @@ 1057-1065 (lines=9) @@ | ||
| 1054 | * @return \Models\Task\Task Clone of current object. |
|
| 1055 | * @throws PropelException |
|
| 1056 | */ |
|
| 1057 | public function copy($deepCopy = false) |
|
| 1058 | { |
|
| 1059 | // we use get_class(), because this might be a subclass |
|
| 1060 | $clazz = get_class($this); |
|
| 1061 | $copyObj = new $clazz(); |
|
| 1062 | $this->copyInto($copyObj, $deepCopy); |
|
| 1063 | ||
| 1064 | return $copyObj; |
|
| 1065 | } |
|
| 1066 | ||
| 1067 | /** |
|
| 1068 | * Clears the current object, sets all attributes to their default values and removes |
|
| @@ 1293-1301 (lines=9) @@ | ||
| 1290 | * @return \Models\User\User Clone of current object. |
|
| 1291 | * @throws PropelException |
|
| 1292 | */ |
|
| 1293 | public function copy($deepCopy = false) |
|
| 1294 | { |
|
| 1295 | // we use get_class(), because this might be a subclass |
|
| 1296 | $clazz = get_class($this); |
|
| 1297 | $copyObj = new $clazz(); |
|
| 1298 | $this->copyInto($copyObj, $deepCopy); |
|
| 1299 | ||
| 1300 | return $copyObj; |
|
| 1301 | } |
|
| 1302 | ||
| 1303 | /** |
|
| 1304 | * Clears the current object, sets all attributes to their default values and removes |
|