1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/manual/codes/Basic Components - Collection - Getting collection count.php
2006-07-23 21:08:06 +00:00

10 lines
141 B
PHP

<?php
$users = $table->findAll();
$users->count();
// or
count($users); // Doctrine_Collection implements Countable interface
?>