In this video I demonstrate how to you can create a fluent API by using pending objects. We’ll take a look at how subscribers can be created in Mailcoach. As a bonus I explain how jobs are dispatched using a pending object in Laravel.
This video is part of the Mailcoach video course which will be released early next year. In the video course I’ll explain how we built Mailcoach and give tips on how to write well structured and clean code. Subscribe at the Mailcoach site to get notified when it is released.
Source: Freek Van der Herten