symfony/symfony — Issue #3324: Dynamic "id" CRUD generator
Author: r2pq
Created: 2012-02-10 20:27:58+00:00
State: open

I think the "generate:doctrine:crud" is a wonderful tool, but I would like that the "id" it expects will be a dinamyc parameter, could be one more question when the comman run, something like:

Welcome to the Doctrine2 CRUD generator

This command helps you generate CRUD controllers and templates.

First, you need to give the entity for which yo.....

The Entity shortcut name: .....
//My suggestion
Enter the Id field for the Entity [id]:
.....
So if I put "idMytable" it will look for it not just "id".