laravel/framework — pull request #2663 by cviebrock (2013-11-06 22:08:40+00:00)
Title: New method: Collection->process()

Runs the given callback over all the collection's elements, replacing them "inline" with the result of the callback. Basically, a shortcut for doing:

```php
$collection = $collection->map( $callback )
```