[symfony-users] Symfony2 console

2011-01-09 Thread umpirsky
Hi. Is there any resource where I can read about symfony2 code generation console. For now I only managed to create bundles, but that just creates empty bundle, then I should register it by hand (well that's ok), and I can't see commands for creating new controllers, routes, views... Regards, Sa

[symfony-users] symfony2 console doctrine:mapping:import error

2010-11-27 Thread soulmedia
Hi all, I am trying to generate mapping information from an existing MySQL database. (sandbox install of symfony2/doctrine) When I run ./console doctrine:mapping:import "Bundle\HelloBundle" I get the error [InvalidArgumentException] The service "doctrine.orm.default_entity_manager" does not