【发布时间】:2013-05-22 10:02:41
【问题描述】:
我正在尝试为 Symfony 2 中的某些实体生成 CRUD,显然是 generate:doctrine:crud 命令不可用。
[InvalidArgumentException]
Command "generate:doctrine:crud" is not defined.
另外,在可用命令列表中,我只得到一个命令。
generate
generate:doctrine:entities Generates entity classes and method stubs from your mapping information
配置中是否缺少捆绑包或其他内容,或者没有此功能的原因是什么。
【问题讨论】: