7 lines
214 B
PHP
7 lines
214 B
PHP
Sometimes you may want to get a copy of your object (a new object with all properties copied).
|
|
Doctrine provides a simple method for this: Doctrine_Record::copy().
|
|
|
|
<code type="php">
|
|
$copy = $user->copy();
|
|
</code>
|