1
0
Fork 0
mirror of synced 2025-03-28 19:03:50 +03:00
doctrine2/manual/codes/Basic Components - Collection - Adding new elements.php
2006-07-23 21:08:06 +00:00

8 lines
137 B
PHP

<?php
$users = $table->findAll();
print count($users); // 5
$users[5]->name = "new user 1";
$users[6]->name = "new user 2";
?>