Laravel 5 The proxy static method is used to add additional methods to the list of methods that should be proxied for use with higher order messaging. These proxied methods allow for a cleaner syntax when invoking...
Laravel 5 The times static method is similar to PHP's range function, with some extra functionality specific for collections. The times method accepts a $number argument as well as an optional $callback function. The...
Laravel 5 The make static method creates a new instance of a collection with the provided $items (assuming that the provided $items argument is not already a collection instance). Signature public static function make( ...
Laravel 5 The wrap static method is similar to the make static method, except that it will create a collection from any value supplied to it. This method is particularly helpful when writing methods or functions where...
Laravel 5 The unwrap method is the logical opposite of the wrap method, in that if the provided value is already a collection, the collection's underlying items will be returned. If the provided value is not a collection...