Flexible Models
Polymorphic relationships allow a model to belong to more than one other model using a single association.
A practical explanation of one of Eloquent's most powerful features for flexible database design.
Polymorphic relationships allow a model to belong to more than one other model using a single association.