1. Home
  2. Laravel
  3. Reverse
#laravel#collection

Revert items order in the collection.

$reversedItems = $items->reverse();
copy
Full Laravel cheatsheet
Sitemap Git repository