-
-
Notifications
You must be signed in to change notification settings - Fork 438
Closed
Description
When using a different file structure than App/... and setting "root_namespace" to use my new file structure. It works for creating standard entities, but when adding ManyToOne & complex Doctrine Entity Relations, it breaks and throws said error : ".../src/Entity/" directory does not exist
maker-bundle/src/Maker/MakeEntity.php
Line 102 in aa37ea1
| $entityFinder = $this->fileManager->createFinder('src/Entity/') |
maker-bundle/src/Maker/MakeEntity.php
Line 469 in aa37ea1
| $entityFinder = $this->fileManager->createFinder('src/Entity/') |
I managed to make the code work by removing "Entity" from the "src/Entity" string, but I would rather suggest to use the "root_namespace" or to add a new parameter in the maker.yaml file to handle this situation.
Metadata
Metadata
Assignees
Labels
No labels