PLAY PODCASTS
Magic methods are okay in the right context
Episode 101

Magic methods are okay in the right context

No Compromises · Joel Clermont and Aaron Saray

May 28, 202412m 6s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

"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

Topics

LaravelPHP