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)

Hey 😍

Want to help the DEV Community feel more like a community?

Head over to the Welcome Thread and greet some new community members!

It only takes a minute of your time, and goes a long way!