So, I am trying to make a new project, but something is happening with kernel, which I don\'t really understand. Every time when I generate new Bundle and try to create Cont
Try to change your composer.json file from this:
"psr-4": {
"AppBundle\\": "src/AppBundle"
}
to this:
"psr-4": {
"": "src/"
},
In this way you load all Bundle under src.
Like this:
"psr-4": {
"AppBundle\\": "src/AppBundle",
"ContactBoxBundle\\": "src/ContactBoxBundle",
}
Or you can specify every Bundle to load if you want.
After that you need to make from console:
composer dump-autoload