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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -