| @@ 1540-1548 (lines=9) @@ | ||
| 1537 | * @return \eXpansion\Bundle\LocalRecords\Model\Record Clone of current object. |
|
| 1538 | * @throws PropelException |
|
| 1539 | */ |
|
| 1540 | public function copy($deepCopy = false) |
|
| 1541 | { |
|
| 1542 | // we use get_class(), because this might be a subclass |
|
| 1543 | $clazz = get_class($this); |
|
| 1544 | $copyObj = new $clazz(); |
|
| 1545 | $this->copyInto($copyObj, $deepCopy); |
|
| 1546 | ||
| 1547 | return $copyObj; |
|
| 1548 | } |
|
| 1549 | ||
| 1550 | /** |
|
| 1551 | * Declares an association between this object and a Player object. |
|
| @@ 1415-1423 (lines=9) @@ | ||
| 1412 | * @return \eXpansion\Framework\PlayersBundle\Model\Player Clone of current object. |
|
| 1413 | * @throws PropelException |
|
| 1414 | */ |
|
| 1415 | public function copy($deepCopy = false) |
|
| 1416 | { |
|
| 1417 | // we use get_class(), because this might be a subclass |
|
| 1418 | $clazz = get_class($this); |
|
| 1419 | $copyObj = new $clazz(); |
|
| 1420 | $this->copyInto($copyObj, $deepCopy); |
|
| 1421 | ||
| 1422 | return $copyObj; |
|
| 1423 | } |
|
| 1424 | ||
| 1425 | ||
| 1426 | /** |
|