1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/manual/codes/Working with objects - Component overview - Collection - Adding new elements.php
2007-02-23 20:57:38 +00:00

9 lines
137 B
PHP

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