Skip to content

Different destination dir when generating using 3.2.7 VS 4.1.1 ?? #261

Answered by mikaelcom
mwolff-fn asked this question in Q&A
Discussion options

You must be logged in to vote

Indeed, you're right!

It was a personal decision and I considered that setting the namespace would mean that the files should be located at the corresponding directory structure. This was not the 3.x behaviour.

But you're right, namespace can be defined as you want without matching the directory structure using composer.

To match your desired behaviour, it would require a new option to disable the namespace-structured directory destination.

Do you agree that by default, the directory structure must match the namespace?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mwolff-fn
Comment options

@mwolff-fn
Comment options

@mikaelcom
Comment options

Answer selected by mikaelcom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants