0 votes

Fussy or what, but I prefer my files to be named MyEntity.php and not MyEntity.dcm.php. Does ORM Designer need this in the filename to identify 'its' files? If not, could it be an option to remove in future?

Thanks!

in Solved by (780 points)
edited by

2 Answers

0 votes
Best answer

ORM Designer doesn't require any file name convention. You can change output file name by setting export-file-name property for each entity.

Image caption

The reason why ORM Designer generates name as entity.dcm.php is because Doctrine2 default naming for XML/YML files are .dcm.xml / .dcm.yml. You can change this in module property file-suffix :

Image caption

But right now there is no option to generate name without any suffix. We will add this option in the next release. (When no value is selected is ORM Designer uses ".dcm." as default value)

by Skipper developer (141k points)
selected by
0 votes

This issue was fixed in latest version 2.1.6.677. You can download this version here http://support.orm-designer.com/31/download-orm-designer2-here

by Skipper developer (141k points)