I go with Symfony2 docs. It's said that adding
/**
* @ORMEntity(repositoryClass="AcmeStoreBundleEntityProductRepository")
*/
in my entity file and running php app/console doctrine:generate:entities Acme
should create the ProductRepository
file. It doesn't. I can't clarimy this more, it's just doesnt create that file, just recreates those entity files that were there before.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…