Understanding Laravel Pipelines

Jeff Ochoa wrote a nice walkthrough of one of Laravels lesser known functionalities: pipelines.

Basically, using laravel pipelines you can pass an object between several classes in a fluid way to perform any type of task and finally return the resulting value once all the “tasks” have been executed.