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?
Yes, this is the backup file generated by EntityGenerator in Doctrine 2.
EntityGenerator
You just need to set the backupExisting property to false in the EntityGenerator class. File location \Doctrine\ORM\Tools\EntityGenerator .
backupExisting
false
\Doctrine\ORM\Tools\EntityGenerator
Source: https://habr.com/ru/post/1342705/More articles:Delphi - Custom string manipulation - stringWhy is Doctrine 2 creating the ~ Entity.php file? - command-line-interfaceDatabase design with periodic sensor data - databaseAccess couchdb food site via https - couchdbImplementing a horizontal scrollable HomeScreen widget? - androidIs there a way to make this "GetPropertyName" function faster? - reflectionThe embedded UIScrollView will not bounce and does not detect slow swipe gestures when the bounce parameter is set to NO - iosSubmitting the form by clicking the return button when the submit button is hidden; works in Firefox, does nothing in Chrome - javascriptiPad - Popover Frame Color - ioseditor for haskell under windows 7 with autocomplete? - haskellAll Articles