Single Table Inheritance and Yaml configuration

前端 未结 2 1376
醉梦人生
醉梦人生 2021-02-05 23:25

I want to use in my project Single Table Inheritance for symfony2/doctrine, but I can\'t find any working examples with yaml configuration for it. In official documentation ther

2条回答
  •  既然无缘
    2021-02-05 23:29

    Here is an example of YAML markup:

    Entities config files should be put into src/Acme/StoreBundle/Resources/config/doctrine/.orm.yml according to reference.

    Also built-in converter can be used: how to model inheritance in doctrine2 with yaml?

提交回复
热议问题