V
V
Voll.2016-05-19 00:47:35
Laravel
Voll., 2016-05-19 00:47:35

How to add custom functions to Laravel's Pivot model?

There are three tables:
Products
id
slug
Features
id
name
Lang
id
name
With the help of Laravel and ORM models, I translated each feature
id feature_id lang_id content The
question is how to make any product, any feature, have content in different languages?
Pivot?
Something from the category:
id feature_product_id lang_id content
Is there an option to do this using Laravel methods?
Thank you very much in advance for your reply

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question