Back to the Learning

Beep Beep. Subscription Required.

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

About This Episode

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.

Published on Jul 3rd, 2017.

Ad spot

Episodes

    1. Visual Debt

      EPISODE 1 3:03
    2. Array Destructuring

      EPISODE 3 3:27 Free
    3. Single-Use Traits

      EPISODE 4 3:15
    4. Invokable Classes

      EPISODE 6 6:06
Back to Series Button