$collection->count()

Counts all elements in the array

  • return (int)

Examples:

This collection has
<?= $collection->count() ?>
items

Is something missing or incorrect? Edit this page on Github…