map an existing table in doctrine code example
Example: symfony doctrine existing database
$ php bin/console doctrine:mapping:import "App\Entity" annotation --path=src/Entity
$ php bin/console doctrine:mapping:import "App\Entity" annotation --path=src/Entity