Generating Entity Getters and Setters in Symfony / Doctrine ORM

try :

php app/console doctrine:generate:entities EvrHomeBundle:Article

If you are using symfony 3.0 or higher then substitue app with bin:

php bin/console doctrine:generate:entities EvrHomeBundle:Article

If you are using symfony 4+ then :

php bin/console make:entity --regenerate 

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)