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

前端 未结 6 1422
我在风中等你
我在风中等你 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 01:54

    If you have more than one Bundle and want to use different database connection just update your config.yml and parameters.yml by adding configuration and parameters.

    This will solve problem with CRUD generation.

提交回复
热议问题