Laravel – Many to Many Polymorphic Relation with Extra Fields

How can I define a many to many polymorphic relation with extra fields? Similiar to withPivot() but for a many to many polymorphic relations.


Source: laravel

Leave a Reply