symfony - symfony2 doctrine updating entities generates a .php file in entity directory -
when run command:
php app/console doctrine:generate:entities mybundlename all setters , getters generated correctly, except generates .php file in entity directory

with following content
<?php namespace goodeed\bebundle\entity; use doctrine\orm\entityrepository; /** * * * class generated doctrine orm. add own custom * repository methods below. */ class extends entityrepository { } so if run example
php app/console doctrine:schema:update --force i error:

i don't care error because when delete file works expected , no more errors arise. question is, cause generation of .php file?
my hypothesis there kind of annotation in entity :
@orm\entity(repositoryclass="yourbundle\entity\ ") with annotation, command prompted has behaviour.
hope helps.
Comments
Post a Comment