$collection->next()

Moves the cursor to the next element in the array and returns it

  • return (mixed)