I would like an option to export entities in folder tree, not just with-namespace
or entity-name-only
.
It should be trivial to implement, just replace dots with slashes, so instead of Namespace1.Namespace2.Namespace3.MyEntity.php
file will be saved as Namespace1/Namespace2/Namespace3/MyEntity.php
The main reason is that I use Doctrine2 console tool to generate accessors, and this tool will saves entities in folders and there is no way to configure to save it like Namespace1.Namespace2.Namespace3.MyEntity.php
.