symfony - How to manage joined entities with EasyadminBundle? -
i've got big product entity built doctrine orm includes onetomany/manytomany relationships. in easyadmin works fine. there entities, connected in such way (here class of connected service entity:
/** * catalogproductservice * * @orm\table(name="service", indexes= {@orm\index(name="service_product_id_idx", columns={"product_id"})}) * @orm\entity */ class service { ... /** * @var \catalogbundle\entity\product * * @orm\manytoone(targetentity="catalogbundle\entity\product") * @orm\joincolumns({ * @orm\joincolumn(name="product_id", referencedcolumnname="id") * }) */ private $product; }
and surely, there no field in product entity. how can manage relation easyadmin side of product entity?
Comments
Post a Comment