Why is Doctrine 2 creating the ~ Entity.php file?

When I create my entities, I have a file with the prefix ~ as a backup file or something

Is this a mistake or do you need to manually delete them?

0
source share
1 answer

Yes, this is the backup file generated by EntityGenerator in Doctrine 2.

You just need to set the backupExisting property to false in the EntityGenerator class. File location \Doctrine\ORM\Tools\EntityGenerator .

+1
source

Source: https://habr.com/ru/post/1342705/


All Articles