[Solved] AppBundle symfony 4

[ad_1]

in SF4, The main application component is named ‘App’ by default and is not a bundle.
You have to manually create a dummy bundle under src\ directory in order to use old doctrine:command related to bundle.
see how to manually create a bundle here

After that, you can import/generate mappings/entities using doctrine:commands and use them in the App main module space, or in those bundles.

The SF4 maker tool don’t provide bundle creation yet … But I suppose the SF4 developers consider it’s not an urge must have requirement, because they want us to focus on putting most code in the bundle less App main module.

[ad_2]

solved AppBundle symfony 4