Example Use | Laravel 5 Collections: Executing a Function On All Collection Elements With each
…collection instance. 4 $ collection = new Collection ( [ 5 ' first ' , ' second ' , ' third ' 6 ] ) ; 7 8 // firstsecondthird 9 $ collection -> each ( function ( $ item , $ key ) { 10 echo $ item ; 11 } ) ; 12 13 // Break out of the loop early....