Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specific namespace for different objects #1344

Open
samihsoylu opened this issue Aug 11, 2023 · 0 comments
Open

Specific namespace for different objects #1344

samihsoylu opened this issue Aug 11, 2023 · 0 comments

Comments

@samihsoylu
Copy link

samihsoylu commented Aug 11, 2023

Imagine that you want to create a controller in different directory, and entities in another. How could you achieve this through the config?

This is sort of what I imagined:

maker:
  root_namespace: 'App'
  controller:
    namespace: App\Application\Controller
    dir: src/Application/Controller
  entity:
    namespace: App\Domain\Entity
    dir: src/Domain/Entity
  repository:
    namespace: App\Core\Repository\Doctrine
    dir: src/Core/Repository/Doctrine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant