This question already has an answer here:
I already have a database created. Now I need to generate the entities from this given database. I tried following commands:
php bin/console doctrine:mapping:import "App\Entity" annotation --path=src/Entity
and to generate getters and setters.
php bin/console make:entity --regenerate
By this, it is creating the Entity
but Repository
is not being created.