Skip to content

Glossary: Laravel

Trait

Also written: traits

A bundle of methods a class pulls in with use inside the class, such as HasFactory, Queueable and HasApiTokens.

Where the book teaches it

Related terms

Interface