Posts by Lucas Henrique • 33 points
1 post
-
3
votes1
answer104
viewsQ: Dealing with nested objects (nesting) using a ORM
Let’s assume that in a system for a bus company I have entities: Line, car and travel. Each one has three classes: The entity itself, class Linha extends Model { protected $id; // outras…