| @@ 185-189 (lines=5) @@ | ||
| 182 | $user->username = 'gblanco'; |
|
| 183 | $user->status = 'developer'; |
|
| 184 | ||
| 185 | for ($i=0; $i<3; ++$i) { |
|
| 186 | $phone = new CmsPhonenumber; |
|
| 187 | $phone->phonenumber = 100 + $i; |
|
| 188 | $user->addPhonenumber($phone); |
|
| 189 | } |
|
| 190 | ||
| 191 | $this->_em->persist($user); |
|
| 192 | ||
| @@ 413-417 (lines=5) @@ | ||
| 410 | $user->username = 'gblanco'; |
|
| 411 | $user->status = 'developer'; |
|
| 412 | ||
| 413 | for ($i=0; $i<3; ++$i) { |
|
| 414 | $phone = new CmsPhonenumber; |
|
| 415 | $phone->phonenumber = 100 + $i; |
|
| 416 | $user->addPhonenumber($phone); |
|
| 417 | } |
|
| 418 | ||
| 419 | $this->_em->persist($user); |
|
| 420 | $this->_em->flush(); |
|
| @@ 453-457 (lines=5) @@ | ||
| 450 | $user->username = 'gblanco'; |
|
| 451 | $user->status = 'developer'; |
|
| 452 | ||
| 453 | for ($i=0; $i<3; ++$i) { |
|
| 454 | $phone = new CmsPhonenumber; |
|
| 455 | $phone->phonenumber = 100 + $i; |
|
| 456 | $user->addPhonenumber($phone); |
|
| 457 | } |
|
| 458 | ||
| 459 | $this->_em->persist($user); |
|
| 460 | $this->_em->flush(); |
|
| @@ 533-537 (lines=5) @@ | ||
| 530 | $user->username = 'gblanco'; |
|
| 531 | $user->status = 'developer'; |
|
| 532 | ||
| 533 | for ($i=0; $i<3; ++$i) { |
|
| 534 | $phone = new CmsPhonenumber; |
|
| 535 | $phone->phonenumber = 100 + $i; |
|
| 536 | $user->addPhonenumber($phone); |
|
| 537 | } |
|
| 538 | ||
| 539 | $this->_em->persist($user); |
|
| 540 | $this->_em->flush(); |
|