1. Home
  2. Laravel
  3. Reverse

Revert items order in the collection.

#laravel#collection
$reversedItems = $items->reverse();
copy
Full Laravel cheatsheet