Hi, I was wondering if there is a native way to map relationnal fields to entity's sub'object properties.
For example, with an entity Customer, can I deal with $customer- >address, where address is an instance of Address, and map the properties of my address directly with columns of my database, like address_city, address_zipcode etc. My goal is to factorize address specific code and doing things like: $order->setAddress($customer->getAddress()) (Note that I don't want my addresses to be stored in another table to avoid joining) I thought I could map every columns with private customer's "address_*" property and create manually getAddress and setAddress accessor, is this the prettiest way to do that ? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en