By John Koster
The Collection
class provides a handful of static helper functions that help in the creation of new collection instances.
#Collections: The Static API
- Laravel 5 Collections Static API: Creating a New Collection Instance From Arrays Using make
- Laravel 5 Collections Static API: Ensure a Value Is a Collection With wrap
- Laravel 5 Collections Static API: Returning the Items of a Collection With unwrap
- Laravel 5 Collections Static API: Creating a Collection By Invoking a Callback a Given Number of Times With times
- Laravel 5 Collections Static API: Adding Methods to the Higher Order Message List With proxy
∎