DEV Community

Freek Van der Herten
Freek Van der Herten

Posted on • Originally published at freek.dev on

★ 📺 How to avoid large function signatures by using pending objects

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.

Top comments (0)