how to model inheritance in doctrine2 with yaml?

前端 未结 3 386
一整个雨季
一整个雨季 2021-01-19 14:54

How to declare doctrine2 inheritance the yaml way?

I don\'t find any code snippets, examples or cookbook articles about this in the doctrine documentation.

W

3条回答
  •  [愿得一人]
    2021-01-19 15:40

    Try doing a simple model inheritance using the examples in the documentation (which are in @Annotations format), and converting them to yaml using the doctrine command line tool with parameters orm:convert-mapping (which converts mapping information between supported formats). More information here.

提交回复
热议问题