How to address the bundle in php app/console generate:doctrine:crud

前端 未结 6 1424
我在风中等你
我在风中等你 2021-01-21 01:40

In my symfony 2 project I have a bundle at

src/Cinergy/Bundle/PeopleServiceBundle

Now I\'d like to generate a CRUD controller based on a doctri

6条回答
  •  孤城傲影
    2021-01-21 02:06

    According to the symfony docs, you have to use " The entity name given as a shortcut notation containing the bundle name in which the entity is located and the name of tvhe entity", so it should be something like

    --entity=CinergyPeopleServiceBundle:Group
    

提交回复
热议问题