I want to make doctrine use only the annotations existing inside the entity class (Not YAML).
When I execute: php app/console doctrine:schema:update , I get the error message:
Invalid mapping file 'TEST.Bundle.BlogBundle.Entity.Image.orm.yml' for clas
s 'TEST\Bundle\BlogBundle\Entity\Image'.
The file TEST.Bundle.BlogBundle.Entity.Image.orm.yml is empty. What can be the causes behind this error?
How can I tell doctrine to take into consideration the metadata specified by annotations?
Thank you very much.