Laravel Collection Public API: shuffle
shuffle The shuffle method is used to rearrange the items of the array in a random distribution. The shuffle method will return a new collection and will not modify the original collection instance. The following code example shows the usage of...