Magic methods are okay in the right context

28/05/2024 12 min Episodio 101
Magic methods are okay in the right context

Listen "Magic methods are okay in the right context"

Episode Synopsis


"Magic" methods and properties show up several places in Laravel, as well as third-party packages. They can make certain things easier and less verbose, but there is a trade off. In this episode, we discuss a few different contexts where we like and avoid magic accessors.We'd really appreciate it if you share the show with other Laravel devs.This episode is sponsored by Mailtrap, an Email Delivery Platform that developers love. Try for Free at MAILTRAP.IO