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

How on Earth could the ternary operator improve my interfaces? Well, as it turns out, they can do this very thing quite easily! Choose a sensible default, and then allow for an override. It's the best of both worlds.

Published on Jun 8th, 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