Subscription Required

برای مشاهده این درس نیاز به خرید اشتراک دارید.

با خرید اشتراک به قابلیت نمایش آنلاین و دانلود بیش از 1500 جلسه آموزشی منتشر شده در وبسایت Laracasts دسترسی خواهید داشت.

درس قبلی
Many to Many Polymorphic Relations

Many to Many Polymorphic Relations

Many to Many Polymorphic Relations

قسمت 6
درس بعدی

درباره این درس

We've finally made it to the most intimidating of Eloquent relationships: many to many polymorphic. Don't worry; it's far simpler to understand than you might initially think. In this lesson, we'll construct a standard many-to-many relationship: a user can "like" a post. Then, we'll throw a wrench into the mix. What if a user can also "like" a comment? How might we restructure our existing structure to allow for this?
دیدگاه های کاربران

× در حال پاسخ به: