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

enter image description here

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:

enter image description here

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

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

android - Pass an Serializable object in AIDL -