![]() ![]() Was this a classic SingleEntityAuthorUsers relationship I would have build it as a ManyToMany item, but here it's different.Īuthor would probably contain two ManyToOne relations (one with the User entity and one with either the Document or the Video entity) plus the entity type field, but I really don't know how to code the "Document orVideo`" part. The problem is that I cannot understand how to build this in Doctrine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |