Is it possible to create a parent name field into one-to-many association in Doctrine2.
For example, we have a Meeting. This meeting can be associated with Contacts or with Accounts.
Example of data:
meeting_name | parent_name | parent_id
------------------------------------------------------
Meeting with a friend | Contacts | <contact_id>
Meeting with the customer | Accounts | <account_id>
Is possible to implement it in Doctrine2?
Thanks