Hello,
I've been strugling to solve the Eloquent Inheritence problem but haven't found a solution yet.
Doctrine implements the Class Table Inheritance pattern where each model has it's own table. The inherited classes define in their tables only some additional keys, while they retrieve common attributes from the parant model's table.
It seems a lot more efficient than the Polymorphic Relations that are implemented by Eloquent.
How do you solve this problem?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community