Today, we are taking a look at reverse(), the reverse() method takes a collection and reverses all of the elements in it.
isEmpty() & isNotEmpty()
In this episode, we are tackling the isEmpty() and isNotEmpty() methods in the Laravel Collection class. Explore the two methods step by step to get a deep understanding of how they work.
Come along as we explore that advanced features of the last() method. The last() method, at first glance, seems like a very simple method but as we dive deeper, we discover the callback and default functionalities.
At first glance, the first( ) method is very simple but it has some hidden functionality that you may not have known about. In this episode, we explore the advanced callback and default features.