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