Showing 10 of 2,055 results.

Laravel 5 Collections: Retrieving Collection Elements With get

The get method can be used to retrieve an item from the collection based of its $key . An optional $default argument can be passed that will be returned if the supplied $key does not exists in the collection. The $default argument can be a simple...

Laravel Collection Public API: every

every($step, $offset = 0) The every method can be used to retrieve a subset of a collection based on each items distance from each other. It defines one required parameter $step and one optional parameter $offset . An argument supplied for $step...

E-mailing Output | Laravel Task Scheduling: Managing Task Output

The output of tasks can also be emailed after the task has completed. Emailing output can be accomplished by either using the emailOutputTo and emailWrittenOutputTo methods. Each of these methods require that the output to have been previously...