Back to the Learning

Beep Beep. Subscription Required.

Laracasts is packed full with over 1,500 lessons just like this one.
Sign up to get full access or log in to your account and sit back.

Your Teacher | Jeffrey Way

https://laracasts.s3.amazonaws.com/avatars/jeffrey-avatar.jpg's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

Published on Jul 3rd, 2017

PHP's magic __invoke method is a useful tool to have in your belt, even if you likely won't reach for it too often. Any time that you want to piggy back on top of a closure, you may freely substitute an invokable class in its place. Let me show you how in this episode.

Back to Series Button