I have three tables: options, groups and prices.
Price table should contain: option id, group id and value; and I should be able to call something like this:
Option::find($option_id)->group($group_id)->price
But there shouldn't be any relationship between Option and Group model, everything should work over Price table.
Is that even possible? If so, any suggestions what should i look up.