Back to the Learning

Back to the Learning!

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.

What's a Trait?

Run Time 6:26

As of PHP 5.4, we now have a mechanism for reusing code, called Traits. If this term is new to you, give me five minutes to explain what it is, and when you should leverage them.

Publish Date: August 7, 2014